Hello, on some sites I notice a row, and when the cursor hovers over that row, it changes color while the mouse is on it. Does anyone know how this is done?
Thanks.
| SitePoint Sponsor |




Hello, on some sites I notice a row, and when the cursor hovers over that row, it changes color while the mouse is on it. Does anyone know how this is done?
Thanks.
I think you probably mean basically a bg changer. You mean like on the text
At the top?* Articles
* Books
* Blogs
* Marketplace
* Forums




Yes I am looking for that... but it would be on a much larger scale. For instance, when someone hovers over this post, I would want its background to change. So it would be nice if the <tr> background would change.





it will work if you set a background color to tr:hover but keep in mind this isn't supported by IE5 or IE6.
IE(4 through 6)/Win only natively support :hover on <a> elements.
Three ways to simulate :hover in IE5-6/Win:
Dean Edwards' "IE7" patch for IE5-6
whatever:hover
http://www.htmldog.com/articles/suckerfish/
We miss you, Dan Schulz.
Learn CSS. | X/HTML Validator | CSS validator
Dynamic Site Solutions
Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.
Bookmarks