如何在不影響網格系統的情況下使表格能夠滾動? 如何在不干擾col-xs標籤的情況下使表格可以滾動?使Bootstrap表可滾動而不影響網格系統
<table class="col-xs-12">
<thead>
<th class="col-xs-2">A</th>
<th class="col-xs-1">B</th>
<th class="col-xs-1">c</th>
<th class="col-xs-2">d</th>
<th class="col-xs-2">e</th>
<th class="col-xs-1">f</th>
<th class="col-xs-1">g</th>
<th class="col-xs-1">h</th>
<th class="col-xs-1">i</th>
</thead>
<tbody>
<tr>
<td><input type="text" class="form-control""></td>
<td><input type="text" class="form-control"></td>
<td><input type="text" class="form-control"></td>
<td><input type="text" class="form-control"></td>
<td><input type="text" class="form-control"></td>
<td><input type="text" class="form-control"></td>
<td><input type="text" class="form-control"></td>
<td><input type="text" class="form-control"></td>
<td><input type="text" class="form-control"></td>
</tr>
</tbody>
</table>
當tbody有超過3行時,它應該可以滾動:) – user3782454 2014-09-22 10:46:54
@ user3782454啊,我以爲你想要水平滾動而不是垂直。垂直滾動看看這裏的答案:http://stackoverflow.com/questions/21168521/scrollable-table-with-fixed-header-in-bootstrap – ChaoticNadirs 2014-09-22 10:52:33