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

Re: ex

From: Matthew Brealey <thelawnet@yahoo.com>
Date: Wed, 19 Jan 2000 03:09:22 -0800 (PST)
Message-ID: <20000119110922.26777.qmail@web903.mail.yahoo.com>
To: www-style <www-style@w3.org>
--- Erik van der Poel <erik@netscape.com> wrote:
> The spec gives the following example for "ex":
> 
>   H1 { margin: 1ex }
> 
> If the font-family property contains multiple fonts, which font is used
> to determine the length of 1ex?
The one that is actually used for the H1 element; e.g., H1 {font-family:
notavailable, notavailable, sans-serif} uses the x-height of the
sans-serif font that is selected by the ua (CSS merely states 'ex: the
'x-height' of the "relevant" font', but this conclusion is unavoidable).

=====
----------------------------------------------------------
From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
Received on Wednesday, 19 January 2000 06:09:24 GMT

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