IE6bug整理(hover a:hover) IE6 a:hover 无效
2011-10-08 18:39
253 查看
IE6bug整理(hover a:hover span)
By Diaoyude | 发布时间: 08-23 16:38 | Hits:857 | Postin: WEB前端 , Div-Css
ie6 a:hover span
今天在项目中遇到了这样的一个怪事,IE6 a:hover 背景不消失
最后找到了解决办法,对hover加上 #tabs1 a:hover {zoom:1; padding:0}
<title>ie6 a:hover span bug</title>
<style type="text/css">
<!--
body {
margin:0;
padding:0;
}
img {
border: none;
}
#tabs1 a span {
display:block;
background:url("1.jpg") no-repeat;
width:110px; height:30px;
}
#tabs1 a:hover {zoom:1; padding:0}
#tabs1 a:hover span {
background:url("2.jpg") no-repeat
}
-->
</style>
</head>
<body>
<div id="tabs1">
<a href="#"><span> </span></a>
</div>
</body>
</html>
补充:IE6 如果要a:hover (鼠标移上去)有效,href必须不为空;
原文链接:http://www.diaoyude.cn/view_article_259.html
相关文章推荐
- ie6 hover 子元素无效bug
- IE6 的 hover 伪类 bug
- csshover.htc 以及简单使用方法(解决IE6下 :hover 在其他标签下无效问题)
- 【IE6的BUG一】链接伪类(:hover)CSS背景图片有闪动BUG
- 【IE6的疯狂之八】链接伪类(:hover)CSS背景图片有闪动BUG
- IE中伪类:hover的使用及BUG,以及如何在IE6中进行修正(CSS)
- IE6下hover伪类显示隐藏子元素bug及解决方案
- IE6中a:hover的CSS伪类无效
- 使用zoom解决IE6 margin无效BUG
- 【IE6的疯狂之八】链接伪类(:hover)CSS背景图片有闪动BUG
- IE6下 Bug overflow:hidden无效解决办法
- IE6中hover的bug
- ie6 bug - hover 相关
- 【IE6的疯狂系列】IE6 BUG大全(bug征集、整理中..)
- ie6中[:hover] bug 解决方案一
- IE6 下:hover 中bug解决了(纯CSS)
- IE6 中 a:hover 的bug (转)
- IE6 margin无效BUG解决办法之一
- IE6中伪类:hover的使用及BUG
- IE6下链接伪类(:hover)CSS背景图片有闪动BUG