5 /** This is just for coloring: */
6 table { border:
1px solid #CC0; }
7 td { border:
1px solid #CCC; }
22 This play with table-layout:fixed; and applying the width to colgroup or col element. Firefox only recongize the width if it is applied on col element!
</p>
24 On a perfect browser, both tables should look the same
</p>
28 <dd>300 px width is applied to the first colgroup element
</dd>
30 <div style=
"width: 400px;">
32 <colgroup id=
"first" /></colgroup>
33 <colgroup id=
"second"/></colgroup>
34 <colgroup id=
"third" /></colgroup>
45 <dd>Each colgroup has an additional col element. The first col element is applied the
300 px width
</dd>
48 <div style=
"width: 400px;">
50 <colgroup><col id=
"first" /></colgroup>
51 <colgroup><col id=
"second"/></colgroup>
52 <colgroup><col id=
"third" /></colgroup>