我似乎无法解决这个问题。
如何在引导网格系统中制作此表?
这是一个常规table
:
<table>
<tr>
<td>
<table>
<tr>
<td>a</td>
<td>b</td>
</tr>
<tr>
<td colspan="2">c</td>
</tr>
</table>
</td>
<td>
<table>
<tr>
<td>d</td>
<td>e</td>
</tr>
<tr>
<td colspan="2">f</td>
</tr>
</table>
</td>
</tr>
</table>
我尝试了以下方法:
<div class="container-fluid">
<div class="row">
<div class="col-xs-12">
<div class="row">
<!-- Left side -->
<div class="col-xs-8">
<div class="row">
<!-- 1st column -->
<div class="col-xs-4">a</div>
<!-- 2nd column -->
<div class="col-xs-4">b</div>
<!-- colspan 2 -->
<div class="col-xs-8">c</div>
</div>
</div>
<!-- Right side -->
<div class="col-xs-8">
<div class="row">
<!-- 3rd column -->
<div class="col-xs-4">d</div>
<!-- 4th column -->
<div class="col-xs-4">e</div>
<!-- colspan 2 -->
<div class="col-xs-8">f</div>
</div>
</div>
</div>
</div>
</div>
</div>