Styles for Tables elements

Hello-

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.

PF

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