Re: CSS3 idea: pad-to

----- Original Message ----- 
From: "fantasai" <fantasai.lists@inkedblade.net>
To: <www-style@w3.org>
Sent: Saturday, February 24, 2007 9:22 PM
Subject: Re: CSS3 idea: pad-to


> 
> Andrew Fedoniouk wrote:
>> 
>> I still do not understand the idea.
>> (Probably it makes sense to draw some illustration?)
>> 
>> At the meantime probably this question will help:
>> 
>> How is "fluid grid" different from:
>> 
>>   ul > li { display:inline-block; float: left }
>> 
>> for the markup above?
> 
> a) all the boxes in the same row are the same height, without
>    needing to set that height explicitly -- kinda like how
>    table cell heights are balanced within a row
> 
> b) possibly the boxes fill the row rather than just taking
>    up the minimum amount of space they can
> 
> ~fantasai
>

Thanks, fantasai. 

This appears then exactly as my 

container 
{ 
    flow:h-flow 
}
container > child 
{    
    height:100%%; /* full height of current row */
    width: 25%%; /* four columns if space allows*/
}
container > child.header
{    
    width: 100%%; /* but header always spans full row */
}

if I get the idea right of course.

Andrew Fedoniouk.
http://terrainformatica.com

Received on Sunday, 25 February 2007 06:17:32 UTC