|
Posted by David Trimboli on May 7, 2008, 10:59 pm
Please log in for more thread options
yaugin wrote:
> What is the practical difference between these elements? They seem to
> accomplish the same thing. Is there an example of how one might be
> advantageous over the other?
I'd say the explanation of COL and COLGROUP in the specification
(http://www.w3.org/TR/html401/struct/tables.html#h-11.2.4) does a pretty
good job of explaining this and giving examples.
The short summary: COL lets you apply certain attributes to columns;
COLGROUP lets you group columns together structurally (the columns have
a meaningful relationship to each other). COL is purely for styling;
COLGROUP has a relational meaning in the table.
--
David
Stardate 8350.7
|