Results 1 to 3 of 3

Thread: [solved] css: highlighting td

  1. #1

    Thread Starter
    Fanatic Member brown monkey's Avatar
    Join Date
    Jun 2004
    Location
    Cebu
    Posts
    552

    [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.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    :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.

  3. #3

    Thread Starter
    Fanatic Member brown monkey's Avatar
    Join Date
    Jun 2004
    Location
    Cebu
    Posts
    552
    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
  •  



Click Here to Expand Forum to Full Width