How do I remove dotted lines around links in FireFox?

This can be done with CSS, you’ll need to change button to whatever class, tag or id you need to remove those dotted lines from.

button:focus {outline: none;}
button:focus {outline: none;}
button::-moz-focus-inner {boder:0;}

Back to Blog