There is border around button and link when click.
could anyone help me solution to remove it.
We can remove the default behavior of hyperlinks which is to show a dotted outline around themselves when active or focused by declaring CSS outline property on active/focused links to be none.
add style="border: none;" to whatever creates the border or create a css with this attribute.
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[type=submit]:focus, input[type=submit]:active{ background-color:#444; /*different color than regular*/ }
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