bootstrap table row span
<td colspan="2">Content here</td> // or...
<td rowspan="2">Content here</td>
bootstrap table row span
<td colspan="2">Content here</td> // or...
<td rowspan="2">Content here</td>
bootstrap break table row
I have this :
| 1 | 2 | 3 | 4 |
I want this :
| 1 | 2 | 3 |
| 4 |
- HTML :
<tr>
<th scope="row">1</th>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
- CSS :
td:nth-child(4) {
display: block;
width: 100%;
}
th,
td:nth-child(2),
td:nth-child(3) {
display: inline-block;
width: 33%;
}
bootstrap table
<table class="table table-sm table-dark">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us