百度css导航的问题.

来源:百度知道 编辑:UC知道 时间:2024/06/30 05:48:55
#tab{top:280px;left:50%;margin-left:-290px;max-width:620px!important;width:620px!important;height:20px;overflow:hidden!important;}
#tab a,#tab a:link,#tab a:visited{color:#000000;text-indent:-9999%;padding:0!important;width:95px;height:50px;
}
#tab a:hover{}
#tab a.on,#tab a.on:visited{}
#tab span,#tabline{display:none;}

这是tab的代码,鼠标一放导航链接上,就出一个灰框框,把图片上的字挡住了,能不能把那个改成透明的,或者不让它显示选中状态?
http://hi.baidu.com/manbao 效果地址.

找到这行
body a:hover{
color:#707376;
font-size:12px;
text-decoration:underline;
background:#eee;
}

这个样式影响了你的号航链接,把里面的background:#eee;去掉就可以了。

或者找到:
#tab a:hover{}
在里面加上 background:none; 就OK。

给个演示地址,看看是不是要这种效果:http://hi.baidu.com/wankcss