Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2列のテーブルが欲しいのですが。
列の幅をテーブル幅のパーセンテージまたはピクセル数で設定する方法を知っています。
左側の列の幅を最大にし、右側の列の幅をテーブルの幅の20%にする必要がありますが、150ピクセル以下にする必要があります。
テーブルの幅はクライアントの画面解像度に依存しますが、右側の列が「大きくなりすぎる」ことはありません。
それ、どうやったら出来るの?
css プロパティmin-widthとを調べますmax-width。
min-width
max-width