Results 1 to 6 of 6

Thread: mouseover bgcolor in <td>

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Canada
    Posts
    75

    mouseover bgcolor in <td>

    what's the easiest way to change the bgcolor of a table cell on mouse over?

  2. #2
    New Member BonkerGudd's Avatar
    Join Date
    Jul 2002
    Posts
    1
    <td onmouseover="style.backgroundColor='#000080';>

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Canada
    Posts
    75
    i just need a CSS for that?

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Canada
    Posts
    75
    i got the background color...but whats the foregroundColor?

  5. #5
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Foreground Color is just "color".

    There is a tag:hover defined in CSS, but unfortunately IE only supports it for the <a> tag.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  6. #6

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