请教下,IE6下a标签background时显时不显的问题。
CSS:
.menubg{ width:650px; margin:auto; overflow:hidden;}
.menubg li{ width:100px; height:88px; float:left; display:inline; position:relative;}
.menubg .img01{ float:left; width:70px; height:46px; background:url(../images/menu/nav1aa.png) no-repeat; margin-top:10px;}
.menubg .img01:hover, .menubg .img01:active{ width:70px; height:46px; background:url(../images/menu/nav1a.jpg) no-repeat;}
HTML:
<a href="/index" class="img01" onmouseover="hide('navul1')" title="你为什么会时显时不显?">移到我头上就可能不会显示哦</a>
在IE6下时显时不显,什么情况?
[解决办法]
onmouseover="hide('navul1')"
是不是这个在作怪?
[解决办法]
ie6渲染有问题,有时候会是那样的,hover以后,如果有背景图片,有时候会变不会来
[解决办法]