- From: Eric A. Meyer <eam3@po.CWRU.Edu>
- Date: Thu, 22 Jun 2000 14:38:58 -0400 (EDT)
- To: www-style@w3.org
On Mon, 19 Jun 2000, Matthew Brealey wrote: > Erik van der Poel wrote: > > Todd Fahrner wrote: > > > > > > 1em is the size of the parent element's font. > > > > Just a minor correction: When the "em" unit is used in the font-size > > property, it refers to the parent element's font-size, but when it is > > used in any other property, it refers to this element's font-size (not > > the parent's). > > Shoudn't that be font size (size of font)? It depends on what you mean by "size of font." Visually, the size of the font may be different than the 'font-size' value. However, the value of 'font-size' is used to determine what an em is in a given situation, with the particular value to use being determined as Erik explains above. -- Eric A. Meyer - eric@meyerweb.com - http://www.meyerweb.com/eric/ Author, "CSS: The Definitive Guide" http://www.oreilly.com/catalog/css/ Editor, Style Sheets Reference Guide http://style.webreview.com/ Coordinator, CSS1 Test Suite http://www.w3.org/Style/CSS/Test/
Received on Friday, 23 June 2000 08:29:46 UTC