CSS テーブルの列幅を均等にする

CSS テーブルの列幅を均等にする

CSSでテーブルのセルの幅を均等にする方法。
table-layout:fixed; を利用する。

table {
width: 100%;
table-layout: fixed;
}