Site icon Tech blog with tips, tricks and hacks

Remove border lines around links in firefox

Have you noticed those nasty dotted lines around links when you click on them in Firefox? Well here’s how to get rid of them, and it’s quite simple really just add the below text to you <a> tag:

onfocus="blur()"

So your final link would look something like this:

<a href="page.htm" onfocus="blur()">link text</a>

Or an image link would look like:

<a href="page.htm" onfocus="blur()">
<img src="images.gif" alt="" />
</a>

 

Exit mobile version