これは私のコードです:
テーブルの本文にスクロール バーを追加する必要があります。ヘッダーは一定のままにする必要があります。スクロール バーを追加すると、ボディ セルが正しく固定されません。
テーブルの本文にスクロール バーを追加する必要があります。ヘッダーは一定のままにする必要があります。スクロール バーを追加すると、ボディ セルが正しく固定されません。
<table width="600" border="1" style="border-collapse:collapse; border: 1px solid #AEAEAE;" cellpadding="0" cellspacing="0">
<tr>
<th rowspan="2">
Title
</th>
<th rowspan="2">
Title
</th>
<th colspan="4">
Title
</th>
<th colspan="2">
Title
</th>
</tr>
<tr>
<th>
Title
</th>
<th>
Title
</th>
<th>
Title
</th>
<th>
Title
</th>
<th>
Title
</th>
<th>
Title
</th>
</tr>
<td height="400">
Body
</td>
<td>
Body
</td>
<td>
Body
</td>
<td>
Body
</td>
<td>
Body
</td>
<td>
Body
</td>
<td>
Body
</td>
<td>
Body
</td>
</tr>