469,590 Members | 2,489 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,590 developers. It's quick & easy.

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

Jul 20 '05 #1
0 2245

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Cedric Villat | last post: by
4 posts views Thread by Bart Heinsius | last post: by
3 posts views Thread by David Lee | last post: by
21 posts views Thread by BT | last post: by
1 post views Thread by Rob Meade | last post: by
4 posts views Thread by eomer | last post: by
5 posts views Thread by jrod11 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.