W3C home > Mailing lists > Public > www-style@w3.org > June 2000

Re: em

From: Erik van der Poel <erik@netscape.com>
Date: Sun, 18 Jun 2000 10:26:55 -0700
Message-ID: <394D065F.38582F50@netscape.com>
To: www-style <www-style@w3.org>
CC: tlforden@yahoo.com
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).

Erik
Received on Sunday, 18 June 2000 13:27:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:05 GMT