固定幅400pxのdivがあります。 div内に400pxより大きいテーブルがあるので、divをスクロールします。それはうまく動作します。私は細胞の幅を変更することはできません。私はセル2を200ピクセル幅にする必要があります。HTML固定幅テーブル、列のサイズが変更されない
<div style='width:400px;overflow:scroll'>
<table style='border:1px solid black'>
<th>field1</th>
<th style='width:200px'>field2</th>
<th>field3</th>
<th>field4</th>
<th>field5</th>
<th>field6</th>
<th>field7</th>
<th>field8</th>
<th>field9</th>
<th>field10</th>
<th>field11</th>
<th>field12</th>
<th>field13</th>
<th>field14</th>
<th>field15</th>
</table>
</div>
それは小さなサイズからそれらを防ぐため、あなたのセル内のテキストです。 – Kobbe