SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict phptek's Avatar
    Join Date
    Jun 2002
    Location
    Wellington, NZ
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question CSS background change in a <td>??

    I'm currently validating my site for XHTML at: http://validator.w3.org/check?uri=ht...0+Transitional but XHTML transitional doesn't allow the onMouseOver DHTML event handler within a <td>. (To achieve a background colour change when a pointer moves over it. See: http://www.theruss.com).

    I once saw on another site (I forget where) a CSS solution to achieve my desired effect, and I wonder if there are any CSS gurus out there who could suggest a solution using, I guess some method of absolute/relative positioning and layers?

    Many thanks in advance.

  2. #2
    SitePoint Addict phptek's Avatar
    Join Date
    Jun 2002
    Location
    Wellington, NZ
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    urggghhhhh - my fault - forgot XHTML doesn't like 'onMouseOver'. Changed to: 'onmouseover' (lower case) -sorted.

    Cheers anyway.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •