How can I create a table with Bootstrap and set the size of each <td>
? I would like to be able to flexibly size the cells of a table with Bootstrap, is it possible?
How can I create a table with Bootstrap and set the size of each <td>
? I would like to be able to flexibly size the cells of a table with Bootstrap, is it possible?
For tables you can use the same pattern as the div
division.
<tr class='row'>
<td class="col-xs-2 col-sm-2 col-md-2 col-lg-2">col 1</td>
<td class="col-xs-4 col-sm-4 col-md-4 col-lg-4">col 2</td>
<td class="col-xs-6 col-sm-6 col-md-6 col-lg-6">col 3</td>
</tr>
See Grid Options to better understand the division of grids