2013-04-19 0:54, COM wrote:

My understanding of font-size spec is: 100% = 1 em = the size of an "M" and 
that this is 16px high.

No, in the value of the font-size property, the em unit denotes the font size of the parent element. The font size is the height of the font. It is easy to see that the common misconception about its relationship to the width or height of "M" is completely wrong e.g. by creating an element with width and height set to 1em and placing the letter "M" there.

The font size is whatever it has been set to. Its initial value, as per browser defaults, might be 16px. Or something else.

What I am not clear is: where do you tell the browser how large the "M" is?

You don't. The font designer decides the dimensions of letters, relative to the font size.

> Is it universally understood that 1 "M" is 16 pixels high?

No.

Yucca


______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to