table-layout プロパティは、テーブルに使用するテーブル・レイアウト・アルゴリズムを設定します。
| デフォルト値: | auto |
|---|---|
| 継承: | 継承する |
| アニメーション可否: | 不可。animatable を参照 |
| バージョン: | CSS2 |
| JavaScript 構文: | object.style.tableLayout="fixed" Try it |
表中の数字は、完全にプロパティをサポートした最初のブラウザのバージョンです。
| プロパティ | |||||
|---|---|---|---|---|---|
| table-layout | 14.0 | 5.0 | 1.0 | 1.0 | 7.0 |
table-layout: auto|fixed|initial|inherit;
| 値 | 説明 | Play it |
|---|---|---|
| auto | 自動テーブル・レイアウト・アルゴリズム(これがデフォルト):
|
Play it ❯ |
| fixed | 固定テーブル・レイアウト・アルゴリズム:
|
Play it ❯ |
| initial | プロパティにデフォルト値を設定します。initial を参照 | Play it ❯ |
| inherit | このプロパティは親要素を継承します。inherit を参照 |
CSS チュートリアル: CSS Table
HTML DOM リファレンス:tableLayout プロパティ