W3C home > Mailing lists > Public > www-style@w3.org > October 2004

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

From: Robin Berjon <robin.berjon@expway.fr>
Date: Fri, 01 Oct 2004 17:50:10 +0200
Message-ID: <415D7CB2.1020809@expway.fr>
To: Brian Sexton <discussion-w3c@ididnotoptin.com>
Cc: www style <www-style@w3.org>

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:15 UTC