(编辑:jimmy 日期: 2024/12/22 浏览:2)
部分代码:
复制代码代码如下:
<ul class="about_nav">
<li class="nav1"><a href="about.html" class="fontnav "></a></li>
<li class="nav2"><a href="about_webintro.html" class="fontnav"></a></li>
<li class="nav3"><a href="about_operation.html" class="fontnav"></a></li>
<li class="nav4"><a href="about_system.html" class="fontnav"></a></li>
<li class="nav5"><a href="about_contantus.html" class="fontnav"></a></li>
</ul>
解决方法:
1.在css中加上outline:none;
复制代码代码如下:
a.fontnav { text-align:left;color:#555; text-decoration:none; outline:none}
ps: outline:none 只在firefox识别,IE下不支持.
2.在IE下:在html上加" hidefocus=”true”
<li class="nav2"><a href="about_webintro.html" class="fontnav" hidefocus=true></a></li>