- From: Rijk van Geijtenbeek <rijk@iname.com>
- Date: Tue, 19 Feb 2002 17:24:25 +0100
- 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 >>layout. >> >>Tables in CSS should be used for layout and have nothing to do with tabular >>data. > 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; } </style> <ul> <li>List item 1</li> <li>List item 2</li> <li>List item 3</li> </ul> Greetings, Rijk mailto:rijk@iname.com Mot du Jour: Wit is cultured insolence.
Received on Tuesday, 19 February 2002 11:20:43 UTC