Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

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!