【发布时间】:2021-03-26 18:17:04
【问题描述】:
我正在创建一个 Web 应用程序,发现如果我使用字段集,然后使用表格响应,则页面上会出现水平滚动,分辨率为 (320*480)。如果我删除了字段集,那么它工作正常。
我希望它们都出现在我的页面中。
我也尝试将 .table-responsive div 放在一行中 > col-xs-12 但它无助于相同的水平滚动。
<fieldset>
<legend>Tester</legend>
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>#</th>
<th>Table heading</th>
<th>Table heading</th>
<th>Table heading</th>
<th>Table heading</th>
<th>Table heading</th>
<th>Table heading</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
<td>Table cell</td>
</tr>
</tbody>
</table>
</div>
</fieldset>
【问题讨论】:
标签: twitter-bootstrap twitter-bootstrap-3 mobile-browser