搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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!