Nate Weiner

  • Archive
  • RSS

Get Rid of Those Dotted Lines Around Links in Firefox

I just always assumed that these were a fact of life with Firefox. They are meant to give an idea to the user where their focus is if they are using the keyboard to get around the page. But when you use text-indent to do image swaps for navigation elements the dotted lines shoot off into infinity on the left side of your screen. Found an easy solution from Nathan Smith via Google:

a:active {

 outline: none;

}
Check out his article for more information on how best to remove Firefox dotted links.

    • #css
    • #firefox
    • #web-design
  • 4 years ago
  • 2
  • Permalink
  • Share
    Tweet

2 Notes/ Hide

  1. tiffany3451 liked this
  2. nateweiner posted this
← Previous • Next →

About

Prototyper, water waster, developer of Pocket.

 

Follow

Twitter: @NateWeiner
Vimeo: Nate Weiner
500px: Nate Weiner
Blog: RSS

Pages

  • Contact
  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr