Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Sans-serif font is displaying as italic in Firefox

  • 3 件の返信
  • 35 人がこの問題に困っています
  • 15 回表示
  • 最後の返信者: jschwartzman

more options

This website is displaying incorrectly. The <h1> is displaying as italic. The CSS for <h1> is:

h1 {
	font: 250% Helvetica, Arial, sans-serif;
	color:#00C;
	font-weight: 200;
	text-align:left;
	margin-left: 28%;	
}

It displays correctly in other browsers.

This website is displaying incorrectly. The <nowiki><h1></nowiki> is displaying as italic. The CSS for <nowiki><h1></nowiki> is: <pre><nowiki>h1 { font: 250% Helvetica, Arial, sans-serif; color:#00C; font-weight: 200; text-align:left; margin-left: 28%; }</nowiki></pre> It displays correctly in other browsers.

この投稿は cor-el により に変更されました

すべての返信 (3)

more options

Such issues can be caused by duplicate or corrupted fonts.

You can do a check for corrupted fonts and other font issues:

more options

The answer to this lies in the font-weight... Change it to normal, bold or bolder and all is well.

It appears to be a bug at least in the Macintosh rendering of font-weights.

more options

Thank you very much - I did finally figure this out after days of trial and error!