W3C home > Mailing lists > Public > www-style@w3.org > February 2002

Re: css layout should be symmetrical

From: Rijk van Geijtenbeek <rijk@iname.com>
Date: Tue, 19 Feb 2002 17:24:25 +0100
Message-ID: <8814973278.20020219172425@iname.com>
To: www-style@w3.org
Hello Jesse,

On Tuesday, February 19, 2002 you wrote:

> Ian Hickson <ian@hixie.ch> wrote on 2/19/02 5:51:23 AM:
>>Tables in HTML should be used for tabular data and have nothing to do with 
>>Tables in CSS should be used for layout and have nothing to do with tabular 

> That's what I'm talking about, and it's a great concept, but currently there 
> are no "tables in CSS" without tables in HTML.. 

Why? I don't understand Vadim's point that one shouldn't use the CSS2
display properties to achieve a grid like layout.

I can display a list in a tabular manner, and it displays fine in
Opera and Mozilla:

<style type="text/css">
ul {
  display: table;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border: 1px solid red;
li {
  display: table-cell;
  border: 1px solid red;
  padding: .4em;

<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>

 Rijk                            mailto:rijk@iname.com

Mot du Jour:
Wit is cultured insolence.
Received on Tuesday, 19 February 2002 11:20:43 UTC

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