CSS Is there a way to get rid of the selection rectangle after clicking the link?

Is there a way to get rid of the selection rectangle by clicking a link that does not refresh the current page entirely?

+41
css hyperlink
Oct 07 '08 at 17:26
source share
2 answers

Do you mean the dotted diagram of the goal?

Try:

:focus { outline: 0; } 

This will remove all focal contours. IT is essentially the same as onclick in JavaScript. You can apply this to a:focus .

+64
07 Oct '08 at 17:30
source share

Try adding this:

 onclick="this.blur()" 

Discussed here

(CSS?) Exclude "selected" browser lines around the hyperlink?

+7
Oct 07 '08 at 17:29
source share



All Articles