IE6悬停问题 [英] IE6 Hover Issue
问题描述
众所周知,CSS :hover
在 d .... IE6 中不适用于链接以外的元素。什么是修复。我的意思是如何将:hover
应用于 div
。
任何修复/替代/解决方案?
As you guys know, the CSS :hover
doesn't work in d.... IE6 for an element except for links. What is the fix for that. I mean how do I apply the :hover
to a div
for example.
Any fix/alternative/solution?
谢谢。
推荐答案
有无论如何:hover 。
无论如何:hover是一个自动补丁的小脚本: hover,:active和:focus为IE6,IE7和IE8怪癖,让你像在任何其他浏览器中使用它们。版本3引入了ajax支持,意味着通过javascript插入到文档中的任何html也将在IE中触发:hover,:active和:focus styles。
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.
这篇关于IE6悬停问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!