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

RE: HTML vs. CSS on the <table>

From: <Matthew.van.Eerde@hbinc.com>
Date: Tue, 30 Mar 2004 16:40:53 -0800
Message-ID: <B8B9965E9A4B1948839F37ADCB58E9D58130A9@exchange.hbinc.com>
To: ernestcline@mindspring.com, Matthew.van.Eerde@hbinc.com, www-style@w3.org

> From: Ernest Cline [mailto:ernestcline@mindspring.com]
> > From: <Matthew.van.Eerde@hbinc.com>
> >
> > For example, consider a hypothetical
> 
> <snip>
> 
> > This would allow row/column styling trivially via constructs such as
> 
> <snip>
> 
> Except explicitly giving the cell indices for every single cell
> is not trivial. 

Depends on the table.  For sparse tables, it could actually be easier to
read and understand this way (think of a table representing a battleship
board, for example)

I suppose in such an instance it is necessary to put rows= and columns=
attributes on the grid as well:

<grid class="battleship" rows="10" columns="10">
<cell class="vertical aircraft-carrier" rows="5 6 7 8" columns="3">
<cell class="horizontal cruiser" rows="2" columns="3 4 5">
...
</grid>
Received on Tuesday, 30 March 2004 19:41:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:27 GMT