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,

Michael

-- 
Print XML with Prince!
http://www.princexml.com
Received on Friday, 14 October 2005 01:01:24 GMT

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