搜尋 Mozilla 技術支援網站

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

了解更多

Firefox is not displaying the correct font color on my blog, but other browsers are.

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

more options

I have a web designer issue. Firefox is not displaying the correct font color on the header in my blog. Explorer, Chrome, and Safari have no problems. The page is in css but this particular section has html code o designate color. The code is as follows:

<font face="helvetica" color="FF9966" size="1">blog</font>

Though all other browsers display the light orange color designated, Firefox displays white. Strangely, if if retype the code by spelling out a color, Firefox displays it correctly. i.e.

<font face="helvetica" color="black" size="1">blog</font>

... will give me black. You can see the effect by viewing the link below and looking at the word "blog" in the header, which should be light orange but is not in Firefox.

I have a web designer issue. Firefox is not displaying the correct font color on the header in my blog. Explorer, Chrome, and Safari have no problems. The page is in css but this particular section has html code o designate color. The code is as follows: <font face="helvetica" color="FF9966" size="1">blog</font> Though all other browsers display the light orange color designated, Firefox displays white. Strangely, if if retype the code by spelling out a color, Firefox displays it correctly. i.e. <font face="helvetica" color="black" size="1">blog</font> ... will give me black. You can see the effect by viewing the link below and looking at the word "blog" in the header, which should be light orange but is not in Firefox.

由 jvandenberg 於 修改

所有回覆 (2)

more options

Actually it also seems to work in the current Firefox 4 beta as it is.

The code is not right though - the correct syntax for the color attribute with hex values is with a # at the start, so:

color="#FF9966"


It might work in Firefox 3.x if you change that.

由 michaell 於 修改

more options

The # did it. Thank you so much!