我有一個問題,排隊表不能正常工作,我想知道是否有人處理過這樣的事情。我查了一下,但找不到解決它的任何問題。我正在使用AngularJS和嵌套的ng-repeats,這就是爲什麼我遇到了一些麻煩(並且需要將它們嵌套在表格中)。我的代碼如下:Bootstrap - 如何正確排列兩個tbody的?
<table class="table table-condensed table-hover table-responsive">
<thead><tr>
<th class="col-sm-4">1</th>
<th class="col-sm-3">2</th>
<th class="col-sm-3">3</th>
</tr></thead>
<tbody ng-repeat="blah in blah">
<tr ng-repeat="blah2 in blah">
<td>......</td>
</tr>
</tbody>
<!--This is the end of "Table 1" in the diagram below-->
<tbody ng-repeat="blah3 in blah4">
<tr ng-repeat="blah5 in blah6">
<td>.........</td>
</tr>
</tbody>
<!--This is the end of "Table 2" in the diagram below-->
</table>
我結束了這樣的結果(注意,我不得不動用它由於我使用的表數據是敏感的信息):
我怎樣才能拉第二個tbody(小一個)旁邊的第一個?
謝謝
您需要2個表... – Julo0sS
你想對齊列或只是表格的寬度? – Thorarins
@ Thorarins寬度本身 – Jerry