mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
151 lines
2.4 KiB
HTML
151 lines
2.4 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||
|
"http://www.w3.org/TR/html4/strict.dtd">
|
||
|
<html lang="en-US">
|
||
|
<head>
|
||
|
<title>table-layout: fixed width distribution with unassigned space</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
||
|
<style type="text/css">
|
||
|
|
||
|
table, td { margin: 0; padding: 0; }
|
||
|
|
||
|
table {
|
||
|
table-layout: fixed;
|
||
|
width: 500px;
|
||
|
border-spacing: 10px 0;
|
||
|
margin-bottom: 2px;
|
||
|
padding: 0 10px;
|
||
|
}
|
||
|
|
||
|
td { color: black; background: yellow; }
|
||
|
td + td { background: aqua; }
|
||
|
td + td + td { background: fuchsia; }
|
||
|
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 100px">100px</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 500px">500px</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 600px">600px</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 100px">100px</td>
|
||
|
<td style="width: 200px">200px</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 150px">150px</td>
|
||
|
<td style="width: 300px">300px</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 20%">20%</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 100%">100%</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 120%">120%</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 20%">20%</td>
|
||
|
<td style="width: 40%">40%</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 30%">30%</td>
|
||
|
<td style="width: 60%">60%</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 20%">20%</td>
|
||
|
<td style="width: 100px">100px</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 20%">20%</td>
|
||
|
<td style="width: 100px">100px</td>
|
||
|
<td><div style="width: 100px">div</div></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 20%">20%</td>
|
||
|
<td style="width: 0">0</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 20%">20%</td>
|
||
|
<td style="width: 0%">0%</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 100px">100px</td>
|
||
|
<td style="width: 0">0</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 100px">100px</td>
|
||
|
<td style="width: 0%">0%</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 0">0</td>
|
||
|
<td style="width: 0">0</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td style="width: 0%">0%</td>
|
||
|
<td style="width: 0">0</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
</html>
|