how to remove dotted border around the link in IE7
问题 There is border around button and link when click. could anyone help me solution to remove it. 回答1: It's ugly, but so are most IE fixes. a:focus, *:focus { noFocusLine: expression(this.onFocus=this.blur()); } 回答2: You can preset it like that : :focus{ outline:0; /*removes the dotted border*/ } But remember (for accessibility reasons) to set the style "later" in your CSS file to something more visible. For example : a:focus, a:active{ color:#ff5500; /*different color than regular*/ } input