- From: Dave J Woolley <DJW@bts.co.uk>
- Date: Fri, 24 Sep 1999 17:38:15 +0100
- To: www-amaya@w3.org
> From: John Russell [SMTP:VE3LL@RAC.CA] > > By definition an em is the width of the letter m. > Normally one assumes that this is measured on the > normal text font used (either determined by the browser > user or defined by the page designer with their font settings) > This is what the CSS2 spec says. Unfortunately you don't say what element you are setting the size on. (The sample style sheet uses the browser default as the reference for all sizes.) 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. It may be used for vertical or horizontal measurement. (This unit is also sometimes called the quad-width in typographic texts.)
Received on Friday, 24 September 1999 12:41:01 UTC