搜尋 Mozilla 技術支援網站

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

了解更多

FF can't render css a:link properly

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

more options

I am using a standard css which includes .product_container a:link { font-size: 12px; color: #0000ff; text-decoration: none; }

The link is within a div -tag:

I am using a standard css which includes .product_container a:link { font-size: 12px; color: #0000ff; text-decoration: none; } The link is within a div -tag: <div class="product_container"><br><a href= ...</div> The color is blue and "view source" display that it is so, But FF displays something else. See it at [http://www.u2commerce.com u2commerce]

所有回覆 (2)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.

more options

What do you see?
There aren't any images attached to those links, so I see the alt text and the link text and both are in blue. If you've visited the links then you will see the visited color (#404040).

.product_container a:link {
	font-size: 12px;
	color: #0000ff;
	text-decoration: none;
}
.product_container a:visited {
	color: #404040
}
.product_container a:hover {
	color: #800080;
	background-color: #F0F0F0
}
.product_container a:active {
	color: #009900;
	background-color: #D8D8D8
}

Can you attach a screenshot?

Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).


Reload web page(s) and bypass the cache.

  • Press and hold Shift and left-click the Reload button.
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Cmd + Shift + R" (MAC)