Welcome to WebmasterWorld Guest from 50.19.190.144

Forum Moderators: incrediBILL

Message Too Old, No Replies

mozilla link outlined when clicked (how to stop that)

     
6:48 pm on Sep 17, 2004 (gmt 0)

New User

10+ Year Member

joined:Sept 17, 2004
posts:3
votes: 0


hello,

i would like to know if there is a way to not have mozilla (well, firefox explicitly, which may not technically have the same rendering engine -- i don't know...) put that annoying little dotted outline around the text of link (<A>) once it has been clicked. i've tried "text-decoration:none" and "border:0" in the style, as well as for all the pseudo-classes (:active, etc.).

i read that there was a 'hidefocus' attribute for IE 5.5+, but i'm not sure exactly if that's what i'd be looking for (IE doesn't have the problem to begin with) AND i'm specifically looking to resolve the problem on mozilla/firefox.

any help?

thanks in advance!

-c

7:00 pm on Sept 17, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 18, 2003
posts:827
votes: 0


:link:focus, :visited:focus {
-moz-outline: none;
}

At some time in the future, '-moz-outline' may change to just 'outline'.

7:34 pm on Sept 17, 2004 (gmt 0)

New User

10+ Year Member

joined:Sept 17, 2004
posts:3
votes: 0


works great! thanks!
7:43 pm on Sept 17, 2004 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9063
votes: 2


The dotted outline is an accessibility feature for users navigating a site using the keyboard - removing it makes it very difficult to know when the active link is.

You should take this into account when considering whether or not to remove the outline.

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members