Internet Explorer – hovering on non-link items

| geek

Internet Explorer 5.5 and 6 don’t support the :hover pseudoclass on anything aside from A link elements, but the site that I’m working on calls for hover behavior on form submit buttons too. (And you know how I hate working on cross-browser issues…) I followed the instructions in whatever:hover, but things still weren’t getting picked up. The missing step was to add the following line to my /etc/mime.types:

text/x-component	htc

and restart Apache. That did the trick.

Darn you, IE!

You can comment with Disqus or you can e-mail me at sacha@sachachua.com.