row highlighting..

liunx

Guest
here : <!-- m --><a class="postlink" href="http://help.discogs.com/report/1">http://help.discogs.com/report/1</a><!-- m -->

there is a table that the ROWS are highlighted..
i know how to do this with a JS event:
put onMouseOver="this.className='highlight'" in the TR tag.

is there a way to do this with ONLY css ?

there is the way of using tr:hover but this only applies to FF.<!-- m --><a class="postlink" href="http://www.ship.edu/~idds/explore/softwaretools/examples/javascriptsuckerfish.htm">http://www.ship.edu/~idds/explore/softw ... erfish.htm</a><!-- m -->

I know it's a menu but the same thing. and it's only using cssThe Suckerfish dropdown uses JavaScript for IE.

IE7 (should)/will support :hover on all elements. All other versions of IE will have to use JavaScriptYea, for instance only javascript capable on this

Kiat Hau,
<!-- m --><a class="postlink" href="http://webidiot.blogspot.com">http://webidiot.blogspot.com</a><!-- m -->, Let's build your web site
 
Back
Top