|
-
Jun 19th, 2004, 01:53 AM
#1
Thread Starter
Fanatic Member
[solved] css: highlighting td
i use this
Code:
td{
cursor: hand;
width: 200px;
vertical-align: top;
}
td:hover{
background: #666666;
}
in IE, cursor is hand if hovered but the background won't change to #666666. in contrary, Mozilla change the background when hovered but the cursor won't... am i missing something? thanx...
Last edited by brown monkey; Jun 19th, 2004 at 04:29 AM.
-
Jun 19th, 2004, 04:25 AM
#2
:hover is not supported by IE on anything but links.
hand is not a valid standard value for the cursor property. Rather, it is a proprietary value introduced with IE5 and supported only by IE. pointer is the equivalent standard value, however, it is not supported by IE5.
The solution which is not valid but at least works everywhere (damn MS) is:
cursor: pointer;
cursor: hand;
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jun 19th, 2004, 04:28 AM
#3
Thread Starter
Fanatic Member
thank you CornedBee.
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
|