Table Cell Colour Change

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Is it possible to change the background colour of a table cell when the
cursor is hovered over it?  I heard it was possible to do this using css.
Any help would be much appreciated.

Re: Table Cell Colour Change

Blindsya wrote:

Quoted text here. Click to load it

td:hover { background-color: blue; }

Not supported by MSIE

Most people who want this are trying to get an effect to indicate that the
link in the cell (which is the only thing in the cell) is active. This
isn't something tables should usually be used for... /

... has nicer semantics and works well.

David Dorward                              /

Site Timeline