<table id="example1"
class="table table-bordered table-striped table-responsive"
style="min-width:1000px;table-layout: fixed;word-break:break-all;">
<thead>
<tr>
<th style="width:4%;">序號</th>
<th style="width:24%;">Task ID</th>
<th style="width:45%;">參數(shù)</th>
<th>Task 名稱</th>
<th>執(zhí)行時(shí)間</th>
<th>狀態(tài)</th>
</tr>
</thead>
<tbody>
table-layout: fixed; 固定表格寬度
word-break:break-all; 列的內(nèi)容換行
<th style="width:4%;">序號</th> width:4% 設(shè)置列的寬度