table colgroup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian

    table colgroup

    I have a simple catalogue table, and wanted to suggest a width for
    each column. To do this, I added a colgroup with col elements.

    <COLGROUP>
    <COL CLASS="cattitle ">
    <COL CLASS="material ">
    <COL CLASS="purchase ">
    </COLGROUP>

    But I'm wondering: couldn't I just put those classes in the th
    elements of the thead? Is there any advantage to what I've done? The
    html spec seems to say that colgroup is for *grouping* columns (duh!).
    But my columns are not grouped.

    --
    Brian
    follow the directions in my address to email me

Working...