Do you have a question? Post it now! No Registration Necessary. Now with pictures!
May 7, 2008, 9:19 pm
rate this thread
Re: col vs colgroup
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.