Michael Fesser wrote:
A font size of 1.5em should be equal to 150%
Really? Says who? MSDN explains it better and cleaner but "there is no
trust to Microsoft" :-) so here the original W3C stuff:
<http://www.w3.org/TR/CSS21/syndata.html#va lue-def-percentage>
Percentage values are always relative to another value, for example a
length. Each property that allows percentages also defines the value to
which the percentage refers. The value may be that of another property
for the same element, a property for an ancestor element, or a value of
the formatting context (e.g., the width of a containing block). When a
percentage value is set for a property of the root element and the
percentage is defined as referring to the inherited value of some
property, the resultant value is the percentage times the initial value
of that property.
<http://www.w3.org/TR/CSS21/syndata.html#va lue-def-length>
The 'em' unit is equal to the computed value of the 'font-size'
property of the element on which it is used. The exception is when 'em'
occurs in the value of the 'font-size' property itself, in which case
it refers to the font size of the parent element.
So what is so equal in here? IE implements much shorter font size
switch scale (Largest-Larger-Medium-Smaller-Smallest) and respectively
bigger size jumps for body font (which is used to calculate the actual
1em value).
At the same time they give %% attached to the *initial* body font size
(when the switch is on Medium) which is their holly right. That allows
to implement custom font size switch with as many positions as one
wants.
But simply breaking the default switch without providing an alternate
one is a very bad practice, especially now with monitors going bigger
and bigger.
Why do many people reduce the font size in their
stylesheets to something around 80%? Because often they use Verdana,
which appears much bigger than other fonts (for example Trebuchet),
where resizing would not be necessary at all.
Not sure what are you talking about. At the time of no CSS at all we
still had to declare <font face="Times New Roman, serif" size="3">
but
<font face="Arial, sans-serif" size="2">
to make them close by size looking on Windows (Arial size 3 was too
near of Times size 3; Times size 2 was too small to read with comfort).
I don't know why Verdana (which is an excellent font specially designed
for the Web) is being chosen as "blame it for everything" :-)