Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox overriding CSS values for link colors

  • 2 svar
  • 11 har dette problem
  • 2 visninger
  • Seneste svar af dahentz

more options


All hyperlinked images are appearing with a linked border-style colorization. Border-style should be none for all <a href="..."></a>.

a { border: none; } a:hover { border: none; } a:link { border: none; } a:visited { border: none: }

The above code is all being used. I have firebug and, even after inspecting the elements, see no properties set to display a border style, width, or color. Firefox is the ONLY browser incorrectly displaying these pages.

Alle svar (2)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

more options

Thanks a bunch Cor-El.

That forum has the answer. http://forums.mozillazine.org/viewtopic.php?f=25&t=1188135&sid=d4b70caa58ad9a482f96418087cf0ce0

basically you just have to add the following code to the CSS:

a img { border:none; }

This fixes all.