I think you might want to check out Removing Dotted Links .
If you want to keep the dotted border for tab navigation, apply it to a:active. This still allows the indicator to appear when focusing using the keyboard, but it hides when the mouse is activated:
a:active
{
outline: none;
}
For all links:
a
{
outline: none;
}
Mozilla:
:focus
{
-moz-outline-style: none;
}
. , , , JavaScript, , , .