Previous Message
Next Message

Differing font-sizes between operating systems

Sent by Jukka K. Korpela on 25 August 2007 12:12


On Fri, 24 Aug 2007, Felix Miata wrote:

> In Konqueror and all versions of IE, monospace (PRE) is the same size as 
> proportional.

No, on IE, the default font size of pre elements, as well as tt, code, 
kbd, and sample elements, is about 90% of the basic font size.

Things _look_ different, since typical monospace fonts have large letters: 
they are about the same size as letters in Times New Roman with the same 
font size. This probably explains the default reduction in font size.

But you can easily see the effect by setting
* { font-family: Courier New }
and comparing pre element content with other content.

To confuse us, IE drops the font size reduction if font size is set for 
the body element - even when it is set to 100%. This explains why many 
people haven't noticed the effect.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: