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

     使用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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章