値 | 説明 |
---|---|
table-layout:auto; | 自動表組みアルゴリズム。 |
値 | 説明 |
---|---|
table-layout:fixed; | 固定表組みアルゴリズム。 |
<style type="text/css">
table.auto {
table-layout:auto;
width:200px;
}
table.fixed {
table-layout:fixed;
width:200px;
}
table.auto td,
table.fixed td {
width:100px;
}
</style>
<table class="auto" border="1">
<tr><th>値</th><th>説明</th>
<tr><td>table-layout:auto;</td><td>自動表組みアルゴリズム。</td></tr>
</table>
<br>
<table class="fixed" border="1">
<tr><th>値</th><th>説明</th>
<tr><td>table-layout:fixed;</td><td>固定表組みアルゴリズム。</td></tr>
</table>