您的位置:首页 > 其它

IE6不支持非A元素:hover伪类的bug的处理

2009-05-03 19:48 295 查看
使用IE的behavior即可!

使用方法是定义样式:body { behavior:url(”csshover.htc”); }

csshover.htc的代码http://www.xs4all.nl/~peterned/htc/csshover.htc

这个代码不但支持:hover 而且还支持 :active 另外支持上述样式之外还增加了对:focus的支持 !

http://www.xs4all.nl/~peterned/htc/csshover2.htc

相关:http://dean.edwards.name/ie7/overview/

原文:http://snipplr.com/view/1912/internet-explorer-ie6-css-hover/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: