慕容的工作随笔

慕容的工作随笔

记录学习和工作

去除IE6、IE7和FF下超链接虚线框的解决办法

2012-09-18 11:35:00

局部控制
<a href=“link1.htm” onfocus=“this.blur()">link1</a>
<a href=“link1.htm” onfocus=“this.close()">link1</a>
<a href=“link1.htm” hidefocus=“true”>link1</a>
<a href=“link1.htm” hidefocus=“hidefocus”>link1</a>

全局控制
CSS实现
a{blr:expression(this.onFocus=this.close());} /* 只支持IE,过多使用效率低 /
a{blr:expression(this.onFocus=this.blur());} /
只支持IE,过多使用效率低 /
a:focus { -moz-outline-style: none; } /
IE不支持 */

评论 (0)

还没有评论,来做第一个吧。

发表评论

提交后需管理员审核通过后显示