One common CSS solution to eliminate the dotted borders that appear when hyperlinks are clicked is as follows:
a:active, a:focus, input {
outline: 0;
outline-style:none;
outline-width:0;
}
Although this method effectively removes the unwanted borders on hyperlinks, it may not work as expected on input buttons that have background images.