W3C home > Mailing lists > Public > www-style@w3.org > March 1997

Styles for Tables elements

From: Peter Fraterdeus <peterf@mail.dol.com>
Date: Fri, 7 Mar 1997 13:08:38 -0600
Message-Id: <v03007807af4606db34f7@[]>
To: www-style@w3.org

I'm working on a book about web typography, and have run into a question that I can't resolve.

The issue is whether Table tags should have style properties. In particular, I'm designing an HTML spreadsheet presentation, where, in traditional publishing, a paragraph style would be established with 'tab-stops'. I can control the width of individual cells in an HTML table, but if I want to insert a multi-column row I have to hard-code it with a 'colspan' property. (Note that I'm not trying to 'fake' a page grid with tables, but to use them for what they're meant for ;-)

Should this work?...

table { font:12pt serif bold } /* is table the parent of tr and td? */

td { align:left; font:10pt sans }  /* is font a property of a table cell? */

td.descr  { colspan:2; font:serif bold }

td.detail { align:right }

or how about this idea 

P.tab { tabstop:30 Left; tabstop:40 decimal; tabstop:50 right }

Sorry if this has been hashed over before. I haven't found anyone that can point me to references.


AzByCx DwEvFu GtHsIr JqKpLo MnNmOl PkQjRi ShTgUf VeWdXc YbZa&@

Peter Fraterdeus, designOnline, Inc.
                  dezineCafe / http://www.dol.com      

Received on Friday, 7 March 1997 14:07:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:42 UTC