解决img链接有边框的问题,以前一直纠结。。。。。

来源:互联网 发布:程序员客栈平台 编辑:程序博客网 时间:2024/05/01 22:12


解决IE的

<a href="#" hidefocus= "true"><img src="." border="0" / >

a里面加hidefocus= "true"    。。。img里面将border设为0



但是ff的还不知道怎么解决。。。。先mark一下



a{
    hide-focus: expression( this.hideFocus=true );
    outline: none;
}这个据说兼容所有浏览器

原创粉丝点击