how to remove dotted border around the link in IE7

2019-02-01 20:59发布

There is border around button and link when click.

enter image description here

enter image description here

could anyone help me solution to remove it.

13条回答
我命由我不由天
2楼-- · 2019-02-01 21:33

You can do it with this code:

   a:focus{
      border: none;
    }
查看更多
Root(大扎)
3楼-- · 2019-02-01 21:36

It's ugly, but so are most IE fixes.

a:focus, *:focus {
    noFocusLine: expression(this.onFocus=this.blur());
}
查看更多
老娘就宠你
4楼-- · 2019-02-01 21:36

This will also work

    a 
    {
        outline-style:none;
    }
查看更多
一纸荒年 Trace。
5楼-- · 2019-02-01 21:44

This would do the trick

a {
   outline:0;
}
查看更多
贼婆χ
6楼-- · 2019-02-01 21:47

a:link{ outline-style: none; }`

查看更多
聊天终结者
7楼-- · 2019-02-01 21:48

Try this one

a:hover, a:active, a:focus {
  outline: 0;
 }
查看更多
登录 后发表回答