I can't seem to wrap my head around this.
How do I make this table in the bootstrap grid system?
Here's a regular 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>
I tried the following:
<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>