I need to avoid the creation of dotted line around the check box , when user clicks the check box in IE.
See how it appears when the user clicks ,
How do I remove the dotted line around the check box using css
?
Set the outline
property to 0:
input {
outline: 0;
}
It might not work in IE9 (as documented by Chris Coiyer). You might have to use this meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=9" />
Use a global rule this works on any element which has a focus
*:focus {
outline: none;
}
Try this
input[type='checkbox'] {
outline:0;
}
That's called an outline, try using 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