W3C home > Mailing lists > Public > www-style@w3.org > February 2010

Re: collapsible property

From: Patrick Garies <pgaries@fastmail.us>
Date: Wed, 10 Feb 2010 23:30:14 -0600
Message-ID: <4B7395E6.4080406@fastmail.us>
To: Ojan Vafai <ojan@chromium.org>
CC: news@terrainformatica.com, fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org, Daniel Danilatos <danilatos@google.com>, Julie Parent <jparent@chromium.org>
On 2010-02-10 7:59 PM, Ojan Vafai wrote:
> Does this work? You want the height to be the line-height. As in,
> there are cases where the line-height is not 1em.

I don't know of any way to get the line-height, but you can estimate
(e.g., |1.2em|) or explicitly specify it then match the height to it.

> Also, what if you want some divs to be <1em?

Use a |class| attribute?
Received on Thursday, 11 February 2010 05:30:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:42 UTC