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.
テーブルの列幅を「そのまま」指定する方法はありますか。言い換えれば、列の内容を表示するのに必要な正確な幅を列に持たせたいのです。
それがデフォルトのケースです。
<!-- "table-layout" is "auto" by default as well, just to force it --> <table border="1" style="table-layout:auto;"> <tr> <td>Column 1</td> <td>Column 2</td> </tr> </table>
こんな感じです