2016-03-21

Bootstrap Table Width

It is a responsive world and to set Bootstrap tables (>=3.0) width we should use ‘col-md-*’ class name, where * is a number of columns of width.

<tr class="something">
    <td class="col-md-2">A</td>
    <td class="col-md-3">B</td>
    <td class="col-md-6">C</td>
    <td class="col-md-1">D</td>
</tr>

No comments:

Post a Comment