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>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章