CSS Tip: Firefox Outline
Posted by Drew on January 2, '09
Firefox has this little quirk that will outline links which kind of irritates me. It's something you will notice when you click on a link. Firefox is the main browser I currently use, so I make sure to adjust for this on sites I develop.
Easy Fix
There is a simple fix to the problem. I apply the following code to all the link elements on the page:
Code
a {
outline: none;
}
/ Code
Adding this simple snippet to your link elements will take off that annoying (to me at least) outline.
Ben on January 6, '09 said:
Very nice. I had just realised this when designing my own websites... and my only fix was to change the "color" of the link to match the background (if it was an image link for example), but this fixes it for sure! Thanks
Drew on January 6, '09 said:
Yeah, it's a quick fix that easily slips by. If you use Firefox as your main browser, it is something you'll want to fix with your own sites. I'm glad it helped!
Also, nice website, Ben! You have some great projects.
Comments are now closed.