Firefox CSS Trick


You may have noticed that Firefox outlines hyperlinks when you click on them. Personally I find this a little bit annoying, especially when the hyperlink happens to be an image or a website logo.

However, as a web developer you can easily change this behavior for your website.

Just add this little piece of CSS to the main CSS file for your website to remove the outline:

a {
  outline: none;

I think it is mainly for

I think it is mainly for accessibility reasons.. ie you cant use the keyboard (tabbing between links)on your site with outline disabled

Submitted by Anonymous (not verified) on Thu, 2008-05-08 13:48.