This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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 views
  • Last reply by jschwartzman

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 மூலமாக திருத்தப்பட்டது

All Replies (3)

Such issues can be caused by duplicate or corrupted fonts.

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

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.

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