PDA

View Full Version : Stop a link from getting the dotted lines on click?



Moh
05-06-2009, 05:38 PM
For our navigation, were using links with a background image, makes it easier for hover effects.

But after you click the link, you get them dotted lines around it. Is there any way to prevent this? It looks lame :(

Source
05-06-2009, 05:48 PM
Set

outline: 0;

on the CSS. Could be none, its escaped me right now .

Moh
05-06-2009, 06:16 PM
Set

outline: 0;

on the CSS. Could be none, its escaped me right now .

Worked a charm :)

It is 0 yes.

+rep

Iszak
05-06-2009, 07:40 PM
It can be either, and also it should be noted that this doesn't work in Internet Explorer.

Moh
05-06-2009, 07:52 PM
It can be either, and also it should be noted that this doesn't work in Internet Explorer.

My IE didn't display the lines in the first place :S

Meti
05-06-2009, 08:18 PM
I use:
a:hover { text-decoration: none; }

Moh
05-06-2009, 08:19 PM
I use:
a:hover { text-decoration: none; }
Im not on about underline :P

Want to hide these adverts? Register an account for free!