为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Why hasn't Mozilla fixed an issue where text incorrectly displays as bold?

  • 3 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

I re-developed my website late last year with Wordpress. While testing on all browsers I noticed that text specified as regular or thin fonts displayed as bold on Firefox only. It looked fine on Chrome and even the normally sketchy Safari. I spent hours and hours trying to fix it within the confines of my WordPress template and various plugins to no avail. I searched the web for an answer to this a number of times but nothing worked. I found a ton of posts by other developers having the same issue btw.

Finally, yesterday, I searched the web again and found some CSS code to put into the main style sheet:

html {

 -moz-osx-font-smoothing: grayscale;
 -webkit-font-smoothing: antialiased;
 font-smoothing: antialiased;
 font-weight: 400;

}

/*** Firefox specific rule ***/

@-moz-document url-prefix() {

 body {
   font-weight: lighter !important;
 }

}

Since this is an issue many others are having and has been around a while, why hasn't Mozilla fixed this yet?

I re-developed my website late last year with Wordpress. While testing on all browsers I noticed that text specified as regular or thin fonts displayed as bold on Firefox only. It looked fine on Chrome and even the normally sketchy Safari. I spent hours and hours trying to fix it within the confines of my WordPress template and various plugins to no avail. I searched the web for an answer to this a number of times but nothing worked. I found a ton of posts by other developers having the same issue btw. Finally, yesterday, I searched the web again and found some CSS code to put into the main style sheet: html { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-smoothing: antialiased; font-weight: 400; } /*** Firefox specific rule ***/ @-moz-document url-prefix() { body { font-weight: lighter !important; } } Since this is an issue many others are having and has been around a while, why hasn't Mozilla fixed this yet?

所有回复 (3)

more options

I don't the End user help forum is for programming issues. That should be directed to the bug Mozilla support to look into that.

more options

o-o--LOKI--o-o said

I re-developed my website late last year with Wordpress. While testing on all browsers I noticed that text specified as regular or thin fonts displayed as bold on Firefox only. It looked fine on Chrome and even the normally sketchy Safari. I spent hours and hours trying to fix it within the confines of my WordPress template and various plugins to no avail. I searched the web for an answer to this a number of times but nothing worked. I found a ton of posts by other developers having the same issue btw. Finally, yesterday, I searched the web again and found some CSS code to put into the main style sheet: html { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-smoothing: antialiased; font-weight: 400; } /*** Firefox specific rule ***/ @-moz-document url-prefix() { body { font-weight: lighter !important; } } Since this is an issue many others are having and has been around a while, why hasn't Mozilla fixed this yet?

Hi, would not know as Support Volunteers are not privy to such information. You can try here for info : https://discourse.mozilla.org/ maybe here : https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide Plus if you use W3C Standards which Firefox follows, check your code : HTML https://validator.w3.org/ CSS https://jigsaw.w3.org/css-validator/

If wanting to leave a comment about this please go to 3 Bar Menu --> Help --> Submit Feedback this will be reviewed by a team of experts.

Please let us know if this solved your issue or if need further assistance.

more options

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?

Did you check in the Inspector what font and font settings Firefox uses?

You can right-click and select "Inspect Element" to open the builtin Inspector with this element selected.