Cross-Platform Font Uniformity

Cross-Platform Font Uniformity

The fact that HTML fonts display smaller on Macintosh monitors than on PC monitors can cause problems for Web site designers. The cause of the problem is Macintosh monitors default to 72 dpi, while PC monitors default to 96 dpi. You can’t do anything to fix the cause, but you can control the effect by using a different style sheet for Mac and PC. Start by detecting the platform and writing in the correct style sheet reference:


In the style sheet declarations, the Macintosh fonts should be two points larger than the PC fonts. For example, if in pc_style.css you have:

 .title {  font-family: Arial; font-size: 10pt; line-height: 11pt }

The equivalent line in mac_style.css would be:

 .title {  font-family: Arial; font-size: 12pt; line-height: 14pt }


Share the Post: