Re: rows with display:table

On Friday 29 July 2005 12:31, Manuel Strehl wrote:
>  >You might get close to what you want with
>  >
>  >  ul {width: 100%;}
>  >  li {width: 25%; float: left; display: block; margin: 0; padding: 0;}
>
> Thanks alot, that'll work.
>
> But asking again out of principle: Is there a possibility to achieve
> this by using display:table-row?
>
No. Cells needs to be children of a row, not siblings. So to use 
display:table-row you would need 5 elements with 4 children. So a plain list 
can only be made into a table with 1 row.

`Allan

Received on Friday, 29 July 2005 10:50:09 UTC