对于Bootstrap 4.0:
在Bootstrap4.0.0中,您不能
col-*可靠地使用这些类(在Firefox中有效,但在Chrome中不适用)。您需要使用OhadR的答案:
<tr> <th >Col 1</th> <th >Col 2</th> <th >Col 4</th> <th >Col 5</th></tr>
对于Bootstrap 3.0:
在twitter bootstrap 3中使用:
其中*是宽度的列数。<tr > <td >A</td> <td >B</td> <td >C</td> <td >D</td></tr>
对于Bootstrap 2.0:
在twitter bootstrap 2中使用:
其中*是宽度的列数。<tr > <td >A</td> <td >B</td> <td >C</td> <td >D</td></tr>
**如果您有
<th>元素,请在此处而不是在元素上设置宽度
<td>。



