471,852 Members | 1,163 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,852 software developers and data experts.

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 2307

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
NeoPa
reply views Thread by NeoPa | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.