Re: collapsible property

On Wed, Feb 10, 2010 at 5:43 PM, Andrew Fedoniouk <news@terrainformatica.com
> wrote:

> Ojan Vafai wrote:
>
>  On Wed, Feb 10, 2010 at 5:05 PM, fantasai <fantasai.lists@inkedblade.net<mailto:
>> fantasai.lists@inkedblade.net>> wrote:
>>
>>
>> No. I'm referring to empty block nodes collapsing. For example, <p></p>
>> will render a 0-height paragraph element.
>>
>> Ojan
>>
>
> What about this:
>
> p
> {
>  min-height:1em;
> }
>

Does this work? You want the height to be the line-height. As in, there are
cases where the line-height is not 1em. Also, what if you want some divs to
be <1em?

Ojan

Received on Thursday, 11 February 2010 02:00:47 UTC