how to remove dotted border around the link in IE7

前端 未结 13 1900
傲寒
傲寒 2020-12-25 13:12

There is border around button and link when click.

\"enter

相关标签:
13条回答
  • 2020-12-25 13:40

    This will also work

        a 
        {
            outline-style:none;
        }
    
    0 讨论(0)
  • 2020-12-25 13:43

    You can do it with this code:

       a:focus{
          border: none;
        }
    
    0 讨论(0)
  • 2020-12-25 13:45

    CSS outline is not supported in IE7. That "browser" requires the following CSS expression:

    a {
        _noFocusLine: expression(this.hideFocus=true); 
    }
    

    It works also in newer versions.

    0 讨论(0)
  • 2020-12-25 13:48

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

    0 讨论(0)
  • 2020-12-25 13:50

    Try setting the outline property:

    a {
       outline: 0;
    }
    
    0 讨论(0)
  • 2020-12-25 13:51

    Try

    a {
         outline: none;
    }
    

    Always try to use css reset.This will help you to solve the problem like this.I use eric mayer css reset tool.

    0 讨论(0)
提交回复
热议问题