3 /* cellspacing=
0 cellpadding=
0 */
4 table { border-spacing:
0 }
7 /* Colors for the three cell types */
8 td.a { background: lightgreen; }
9 td.b { background: yellow; }
10 td.c { background: blue; }
12 /* Set min-width on colspanning cell */
13 td.c { min-width:
200px; }
15 /* Set %-width on
2nd cell of first row in tables */
16 table#t0 td.b { width:
1% }
17 table#t1 td.b { width:
5% }
18 table#t2 td.b { width:
10% }
19 table#t3 td.b { width:
30% }
20 table#t4 td.b { width:
50% }
21 table#t5 td.b { width:
75% }
22 table#t6 td.b { width:
80% }
23 table#t7 td.b { width:
90% }
24 table#t8 td.b { width:
95% }
25 table#t9 td.b { width:
100% }
30 <td class=
"a">foo
</td>
31 <td class=
"b">foo
</td>
33 <td class=
"c" colspan=
"2"> 
</td>
37 <td class=
"a">foo
</td>
38 <td class=
"b">foo
</td>
40 <td class=
"c" colspan=
"2"> 
</td>
44 <td class=
"a">foo
</td>
45 <td class=
"b">foo
</td>
47 <td class=
"c" colspan=
"2"> 
</td>
51 <td class=
"a">foo
</td>
52 <td class=
"b">foo
</td>
54 <td class=
"c" colspan=
"2"> 
</td>
58 <td class=
"a">foo
</td>
59 <td class=
"b">foo
</td>
61 <td class=
"c" colspan=
"2"> 
</td>
65 <td class=
"a">foo
</td>
66 <td class=
"b">foo
</td>
68 <td class=
"c" colspan=
"2"> 
</td>
72 <td class=
"a">foo
</td>
73 <td class=
"b">foo
</td>
75 <td class=
"c" colspan=
"2"> 
</td>
79 <td class=
"a">foo
</td>
80 <td class=
"b">foo
</td>
82 <td class=
"c" colspan=
"2"> 
</td>
86 <td class=
"a">foo
</td>
87 <td class=
"b">foo
</td>
89 <td class=
"c" colspan=
"2"> 
</td>
93 <td class=
"a">foo
</td>
94 <td class=
"b">foo
</td>
96 <td class=
"c" colspan=
"2"> 
</td>