bootstrap table中th宽度可以指定,内容自动换行

<table class="table table-striped table-bordered table-hover dataTables-example" style="word-break:break-all; word-wrap:break-all;table-layout:fixed">
	<thead>
      <tr>
		<th>卡券ID</th>
        <th>卡券标题</th>
        <th>卡券类型</th>
        <th>卡券简介</th>
        <th>卡卷库存</th>
        <th>卡券每人领取数量</th>
        <th>卡券开始/结束时间</th>
        <th>卡券使用链接</th>
        <th style="width:86px">操作</th>
      </tr>
	</thead>     
</table>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章