Spread the word

Friday, May 16, 2008

CSS Trick - Removing on-click Dotted lines around links

Whenever you visit any website in Firefox, you many times may have noticed that a dotted outline appears around links whenever you click on them. This dotted outlines doesn’t comes in Internet Explorer. This thing happens only with Firefox. You may have thought that this thing doesn’t looks cool on your website. So here is a very easy solution to stop this behavior in Firefox.



You have to configure your a tag and a:visited tag to stop this. Just add this lines of codes in your css file and get reed of this unwanted behavior.



a {
outline: none;
}
a: visited {
outline: none;
}

This is all that does the trick and makes your website more cool.

0 comments:

Post a Comment