W3C home > Mailing lists > Public > www-style@w3.org > December 1998

Re: line height

From: Wuming Z H A N G <wuming@Lhasa.NU>
Date: Wed, 16 Dec 1998 15:11:05 +0100 (CET)
To: Håkon Wium Lie <howcome@w3.org>
cc: bill brissette <billb@gbcom.com>, www-style@w3.org
Message-ID: <Pine.LNX.4.03.9812161510280.703-100000@Cayenne.Lhasa.NU>
'A better approach is to set the 'line-height' of the parent element
'(say P) using percentage units, not numnbers:
'
'  P { line-height: 120% }
'
'According to the specification, the the calculated value will then be
'inherited -- not the factor. So, child elements of P will have the
'same value for 'line-height' as P has.

I don't thinke the line-height work very well for IE... :(

        /Wuming

--
 Wu m  i   n    g  wuming@lhasa.nu
      Zh a  n   g  wuming.i.svea.nu
Received on Wednesday, 16 December 1998 09:11:19 GMT

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