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

Re: [css-gcpm][css-figures] float-offset & line rhythms

From: Cameron McCormack <cam@mcc.id.au>
Date: Sun, 26 Jan 2014 08:42:10 -0800
Message-ID: <52E53AE2.9070106@mcc.id.au>
To: Brad Kemper <brad.kemper@gmail.com>, HÃ¥kon Wium Lie <howcome@opera.com>
CC: Alan Stearns <stearns@adobe.com>, "robert@ocallahan.org" <robert@ocallahan.org>, "www-style@w3.org" <www-style@w3.org>
On 25/01/2014 7:45 pm, Brad Kemper wrote:
> Sorry, but the line-height property really sucks for baseline
> alignment, because it only sets the minimum height of the line. All
> it takes to royally screw it up is a <sup> or an <img>.

Note that 'line-height: none' on the <sup> or <img> can help avoid that 
problem.  (Prince supports this, but I don't think browsers do yet.)
Received on Sunday, 26 January 2014 16:42:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:39 UTC