View Full Version : The dotted gray border around active links in Firefox
Kevin
08-27-2007, 09:40 PM
Hello All,
I've tried modifying many different link styles to get rid of the dotted gray border that appears around active links in Firefox, but to no avail.
I've applied
border: 0px;
text-decoration: none;
to the link, visited, hover, active, and focus properties of the links in question.
Does anyone have any ideas?
I don't have this particular problem in Internet Explorer.
jscheuer1
08-27-2007, 10:07 PM
That's really an accessibility feature for the mouse impaired, so you should just leave it alone. However, I realize it looks bad and that it should probably be done the way it is in other browsers. In other browsers, it only appears if you start using the keyboard to cycle through the links.
Anyways, if you just can't live with it:
outline-style:none;
Kevin
09-06-2007, 11:35 PM
Thanks very much for both the background and the fix. I don't mind it now that I know what it is : ).
eleven82
09-07-2007, 06:50 PM
I don't think there is a fix to this. I think it's just how the browser works.
jscheuer1
09-08-2007, 02:40 AM
Thanks very much for both the background and the fix. I don't mind it now that I know what it is : ).
I don't think there is a fix to this. I think it's just how the browser works.
The fix is as I outlined, it is just a matter of whether or not you are willing to go to that length.
Rockonmetal
09-08-2007, 02:41 AM
Try this for the border
either two things:
border: none;
//OR!
border: hidden;
new_toner_smell
04-16-2008, 01:45 PM
a:focus {outline:none;}
jscheuer1
04-19-2008, 07:44 PM
And then there was...
a:focus {outline:none;}
There are various ways to do this, yes. The important thing to remember though is that however you override the browser's default behavior, you will be limiting accessibility in favor of your particular aesthetic. This is usually a bad idea.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.