Click here to get back home

col vs colgroup

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
col vs colgroup yaugin 05-07-2008
Posted by yaugin on May 7, 2008, 5:19 pm
Please log in for more thread options
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?

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

Similar ThreadsPosted
Does Firefox not understand COLGROUP and COL? June 6, 2006, 2:05 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap