I think I know the answer to this one, but just in case I've missed some new, ultra-clever CSS trickery of late...
No! Change the tr under
Change the tr under what circumstance, have you got any conditions that change that can produce a new class somewhere or body tag?
Cant think of a means to make a tr clickable, a tr is just a holder for cells.
With the web apps that I
With the web apps that I develop, I often end up displaying complex tabulated data (not just simple lists) whereby each table row is logically linked to a database record that the user might want to see in more detail. Making one or more of the items of data into a clickable link is fine to a point, but the traditional effect of having the entire row a clickable link with a hover effect to aid usability is much more, well, 'usable'.
One solution is to make every item of data in the row into a link and then to set 'display' to 'block' and use :hover to change the background colour. But not only does that require a huge amount of extra mark-up, you also end up with just cell highlighting instead of row highlighting.
IE aside. :hover will work
In Firefox, any element with
In Firefox, any element with a tab index ≥0 can have focus.