|
-
Nov 6th, 2002, 03:47 PM
#1
Thread Starter
Frenzied Member
(HTML & CSS) Why wont my ":hover" work? **Resolved**
Here is what I have in the head section:
Code:
.bordercoloredi { font-family:times; font-size: 12pt; color:ffffff; border-bottom: none; border-right: none; }
.bordercoloredi:hover { border-bottom: 1px outset #ffffff; border-right: 1px outset #ffffff; }
and here is one of the elements I am trying to apply it to:
Code:
<a id="date_i" class="bordercoloredi" style="width:10px; cursor:hand;" onMousedown="document.getElementById('datetext').style.display = 'block';" onMouseup="document.getElementById('datetext').style.display = 'none';">i</a>
(i know hand is not standard )
thanks in advace
Michael
Last edited by msimmons; Nov 11th, 2002 at 10:46 AM.
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Nov 6th, 2002, 04:49 PM
#2
Frenzied Member
You have no href with your anchor, and IE only works with hovers on anchors with hrefs. By the way you missed the # in the first class's colour.
-
Nov 11th, 2002, 10:45 AM
#3
Thread Starter
Frenzied Member
sorry i'm slow :)
thanks!
it was the href="#". They were spans and I just changed span to a and forgot to add the href
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Nov 11th, 2002, 03:54 PM
#4
Frenzied Member
Heh I see. I think it should have worked regardless of the href missing, but IE has a lot of bugs with pseudo classes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|