我的表体是在以下小提琴https://jsfiddle.net/zj36whmo/给滚动条来表
<table class="table table-striped">
<thead>
<tr>
<th>Make</th>
<th>Model</th>
<th>Color</th>
<th>Year</th>
</tr>
</thead>
<tbody>
<tr>
<td class="filterable-cell">Ford</td>
<td class="filterable-cell">Escort</td>
<td class="filterable-cell">Blue</td>
<td class="filterable-cell">2000</td>
</tr>
<tr>
<td class="filterable-cell">Ford</td>
<td class="filterable-cell">Escort</td>
<td class="filterable-cell">Blue</td>
<td class="filterable-cell">2000</td>
</tr>
<tr>
<td class="filterable-cell">Ford</td>
<td class="filterable-cell">Escort</td>
<td class="filterable-cell">Blue</td>
<td class="filterable-cell">2000</td>
</tr>
<tr>
<td class="filterable-cell">Ford</td>
<td class="filterable-cell">Escort</td>
<td class="filterable-cell">Blue</td>
<td class="filterable-cell">2000</td>
</tr>
</tbody>
</table>
我想单独给TBODY滚动条。我已经看到了很多关于stackoverflow的问题,让tbody单独滚动。但是,他们混淆了宽度。我试着修改选项,但我失去了滚动。请帮助我
检查这一个[固定表头(http://stackoverflow.com/questions/35071546/fixed-table-header) – Abood
看一看到http://计算器。 com/questions/17067294/html-table-with-100-width-with-vertical-scroll-inside-tbody – gaetanoM