So.. I was looking for a solution to make IE recognize the :hover pseudo-class in other elements besides “a” (links).. from what I understand (and somewhat remember), I believe it was actually Microsoft that created and first introduced :hover. If this is the case then why the fuck could they not manage letting other elements support it.
Anyway.. found a few places that all pointed to this extremely complex htc file solution blah blah blah looked like too much code and way too much of a hack. A little more googling led me to:
A most brilliant solution. Hopefully this doesn’t break in IE7. If you’re using IE7 please let me know if this hover thing works the same way it does in Opera, FF and IE6.




May 3rd, 2007 at 21:14
IE 7 supports hover like FF in standards compliant mode. The trick is to put IE 6 hover code in a separate style sheet and use conditional comments in the of your page, like this: