Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IE6 Hover Issue

The CSS :hover doesn't work in IE6 for elements that are not links. Is there a workaround? e.g. how do I apply the :hover to a div?

like image 267
Sarfraz Avatar asked Apr 03 '10 11:04

Sarfraz


1 Answers

There's whatever:hover. I've never used it myself but from what I hear, it works well.

Whatever:hover is a small script that automatically patches :hover, :active and :focus for IE6, IE7 and IE8 quirks, letting you use them like you would in any other browser. Version 3 introduces ajax support, meaning that any html that gets inserted into the document via javascript will also trigger :hover, :active and :focus styles in IE.

like image 109
Pekka Avatar answered Sep 18 '22 05:09

Pekka