W3C home > Mailing lists > Public > www-style@w3.org > October 2005

Re: Measure unit for line-height

From: Michael Day <mikeday@yeslogic.com>
Date: Fri, 14 Oct 2005 11:00:51 +1000 (EST)
To: Markus Jonsson <carnaby@passagen.se>
cc: www-style@w3.org
Message-ID: <Pine.LNX.4.58.0510141057490.8447@localhost.localdomain>

Hi Markus,

> Why isn't there a relative measure unit alongside 'em', that corresponds
> to the whole line-height, like 'em' plus what's beneath the baseline?
> That could be useful for symbols or emoticons, where you could set {
> height: 1.0unit } in order to avoid the line-height to increase due to
> the inserted image.

CSS3 has "line-height: none" which may be applied to an inline element
like an image or superscript so that it will not affect the height of the
line it appears on. (Prince supports this usage).

Best regards,


Print XML with Prince!
Received on Friday, 14 October 2005 01:01:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:21 UTC