3 table { width:
600px; }
4 td.smallSpec { width:
100px; }
5 td.zeroSpec { width:
0px; }
6 td.smallPct { width:
10%; }
7 td.pink { background: pink; }
8 td.teal { background: teal; }
12 <h2>Other column fixed-width; two zero columns with colspan; explicit
0 width on span
</h2>
14 <table cellspacing=
"0" cellpadding=
"0">
16 <td class=
"smallSpec pink">100</td>
17 <td class=
"zeroSpec teal" colspan=
"2"/>
21 <h2>Other column percent-width; two zero columns with colspan; explicit
0 width on span
</h2>
23 <table cellspacing=
"0" cellpadding=
"0">
25 <td class=
"smallPct pink">10%
</td>
26 <td class=
"zeroSpec teal" colspan=
"2"/>
30 <h2>Other column fixed-width; zero-column explicitly zero-width; zero column spanned by colspan (crossing other column)
</h2>
32 <table cellspacing=
"0" cellpadding=
"0">
34 <td class=
"smallSpec pink">100</td>
35 <td class=
"zeroSpec teal"/>
37 <tr><td colspan=
"2"/></tr>
40 <h2>Other column percent-width; zero-column explicitly zero-width; zero column spanned by colspan (crossing other column)
</h2>
42 <table cellspacing=
"0" cellpadding=
"0">
44 <td class=
"smallPct pink">10%
</td>
45 <td class=
"zeroSpec teal"/>
47 <tr><td colspan=
"2"/></tr>