Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Sans-serif font is displaying as italic in Firefox

  • 3 antwoorden
  • 35 hebben dit probleem
  • 15 weergaven
  • Laatste antwoord van 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.

Bewerkt door cor-el op

Alle antwoorden (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!