搜尋 Mozilla 技術支援網站

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

了解更多

How do I get Firefox NOT to use default link color and read the CSS?

  • 2 回覆
  • 11 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

I posting and testing sites using CSS externally linked. Every time I look at my sites in Firefox, the default link color shows, (active, hover, visited, etc) and everything is outlined in this color. Safari does not do this - WHAT I HAVE DONE TO FIX IT: • I have emptied the cache and reloaded • embedded a style on every page (as well as in the external CSS) a:link a:visited a:hover a:active { text-decoration: none; color: none; } No luck!!

I posting and testing sites using CSS externally linked. Every time I look at my sites in Firefox, the default link color shows, (active, hover, visited, etc) and everything is outlined in this color. Safari does not do this - WHAT I HAVE DONE TO FIX IT: • I have emptied the cache and reloaded • embedded a style on every page (as well as in the external CSS) a:link a:visited a:hover a:active { text-decoration: none; color: none; } No luck!!

所有回覆 (2)

more options
a:link a:visited a:hover a:active { text-decoration: none; color: none; }

I just tried that and got this in the error console Warning: Expected colour but found 'none'. Error in parsing value for 'color'. Declaration dropped.

more options

Do you see any errors in the Tools > Error Console about that CSS file?

Do you see the links in the history once visited ?

Are you running Firefox in Private Browsing - Use Firefox without saving history mode ?