消除页面上的链接虚线框

.faq a {

outline: none;

star: expression(this.hideFocus=true);

}

其实IE有提供隐藏该虚线框的正经办法。上边的CSS表达式中是js的语法,html中该这样写

<br><a href="#" hideFocus>链接</a><br>

注意:为了优化前端, 尽量不要使用CSS表达式。

posted @ 2016-08-08 11:50  huerge  阅读(138)  评论(0编辑  收藏  举报