1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <title>table-layout: fixed width distribution with unassigned space
</title>
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
7 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
8 <style type=
"text/css">
10 table
, td
{ margin: 0; padding: 0; }
17 td
{ color: black
; background: yellow
; }
18 td
+ td
{ background: aqua
; }
19 td
+ td
+ td
{ background: fuchsia
; }
27 <td style=
"width: 600px">100px
</td>
33 <td style=
"width: 700px">700px
</td>
39 <td style=
"width: 600px">600px
</td>
45 <td style=
"width: 200px">100px
</td>
46 <td style=
"width: 400px">200px
</td>
52 <td style=
"width: 200px">150px
</td>
53 <td style=
"width: 400px">300px
</td>
59 <td style=
"width: 600px">20%
</td>
65 <td style=
"width: 600px">100%
</td>
71 <td style=
"width: 600px">120%
</td>
77 <td style=
"width: 200px">20%
</td>
78 <td style=
"width: 400px">40%
</td>
84 <td style=
"width: 200px">30%
</td>
85 <td style=
"width: 400px">60%
</td>
91 <td style=
"width: 120px">20%
</td>
92 <td style=
"width: 480px">100px
</td>
98 <td style=
"width: 120px">20%
</td>
99 <td style=
"width: 100px">100px
</td>
100 <td style=
"width: 380px">div
</td>
106 <td style=
"width: 600px">20%
</td>
107 <td style=
"width: 0"><div style=
"width: 0">0</div></td>
113 <td style=
"width: 600px">20%
</td>
114 <td style=
"width: 0"><div style=
"width: 0">0%
</div></td>
120 <td style=
"width: 600px">100px
</td>
121 <td style=
"width: 0"><div style=
"width: 0">0</div></td>
127 <td style=
"width: 600px">100px
</td>
128 <td style=
"width: 0"><div style=
"width: 0">0%
</div></td>
134 <td style=
"width: 300px">0</td>
135 <td style=
"width: 300px">0</td>
141 <td style=
"width: 300px">0%
</td>
142 <td style=
"width: 300px">0</td>