搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox overriding CSS values for link colors

  • 2 回覆
  • 11 有這個問題
  • 6 次檢視
  • 最近回覆由 dahentz

more options

bsucatalyst.com/index.php

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.

bsucatalyst.com/index.php 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.

所有回覆 (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.