Re: Box model: min-margin and max-margin, max-padding and min-padding

Brian Sexton wrote:
>> Make (1) display: table-row, and (2) and (3) display: table-cell, with 
>> the
>> element containing all three (possibly the <body>) display: table with
>> width: 100%.
> 
> So using tables for layout of non-tabular content via HTML is a no-no, 
> but using "display: table", "display: table-row", and "display: 
> table-cell" for such content is okay?

Yes. There's a big difference between HTML semantic markup saying "this 
is a table" and CSS styling saying "I want this to render like a table". 
No one said you had to stop positioning things in flexible ways :)

-- 
Robin Berjon

Received on Friday, 1 October 2004 15:50:42 UTC