Si au moins IE était "standard compliant", il supporterait le :hover, :active & :focus pour tous les éléments. Alors un simple CSS avec td:hover aurait suffit.
Par contre, il y a toujours le très intéressant hack pour IE, nommé IE7, que l'on trouve à l'adresse
http://dean.edwards.name/IE7/
Ce hack, n'est rien d'autre que divers JS, qui permet de rendre IE "standard compliant".
Voici ce qu'il permet de faire (src: du site même):
Code :
IE7 provides Microsoft Internet Explorer with support for W3C standard CSS and HTML:
* supports the following CSS selectors:
o namespace|selector
o parent > child
o adjacent + sibling
o adjacent ~ sibling
o [attr], [attr="value"], [attr~="value"] etc
o .multiple.classes (fixes bug)
o :hover, :active, :focus (for all elements)
o :first-child, :last-child, only-child, nth-child, nth-last-child
o :root, :empty
o :before/:after/content:
o :lang()
* works with both HTML and XML documents
* supports imported style sheets
* preserves the cascade of the style sheet
* does not alter the document structure
* does not repeatedly query the DOM tree using JavaScript
* uses pure CSS to enforce style sheet rules
* supports the W3C box model in both standards and quirks mode
* supports fixed positioning (flicker free)
* supports PNG alpha transparency
* works for Microsoft Internet Explorer 5+ (Windows only)