View Single Post
Old Mar 2nd, 2008, 11:54 AM   #4
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,788
Rep Power: 5 Sane will become famous soon enough
Re: Higlight row using DOM

Quote:
Originally Posted by kruptof View Post
The reason I went with JS over CSS is because I find it some browsers don't all support the hover pseudo class for all elements especially IE.
Really? I've never heard of or encountered such issues with CSS and hovering. Maybe your CSS wasn't standard? I've been able to to all sorts of funky hovering in CSS. However, it does require that you assign ID's to each tbody.

Quote:
Originally Posted by kruptof View Post
Please explain further, do you mean give each tr a unique id? If so wouldn't this be more code than now.
Well you can give them all the same ID too. It's not "standard", but I've yet to encounter it causing any problems in any browser.
Sane is online now   Reply With Quote