I'm using IE9 when i clicked a button appears dotted line,Please suggest how to remove that dotted lines.
For Internet Explorer 9 you can use this:
a:active, a:focus {
outline: none;
ie-dummy: expression(this.hideFocus=true);
}
I hope this will help you ........
<input class="button" type="submit" id="submitForm" value="SEND" />
input[type="submit"] {
outline: none;
}
or
<input type="button" id="submitForm" value="SEND" />
input[type="button"] {
outline: none;
}
should work
The css that seems to remove the dotted outline from inputs and buttons in Internet Explorer 8 and 9:
:root input:focus, :root button:focus {
outline: none;
}
I found this by viewing the source of the outlook.com sign in page.
This is something I wish browsers would not implement by default. I always use the following to reset the dotted line:
a:active,
a:focus,
input:focus {
border: 0;
outline: 0;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With