Web Development Blog – Alphadigital

Tips and Experiences

hover

IE6 CSS :hover problem
Jueves, 18 de Febrero de 2010

:hover not working on IE6??

IE6 only support CSS :hover for anchors (<a>). If you need implement .class:hover or element:hover or #id:hover, you can use this great, easy to use and non-invasive solution.

You just have to add this to your css:

/* .htc file must be relative to the .html file, not to the css file like background images */
body{ behavior: url("css/csshover.htc");  }

read more..

  • Share/Bookmark

Ads