【发布时间】:2015-05-25 09:36:31
【问题描述】:
我正在尝试在另一个表头中插入表头。上面是它的样子。我希望更新和删除选项卡应用行跨度。我几乎得到了我想要的,但是在更新 col 之前,表格边框没有正确关闭。请在那里纠正我。
<table class="datatable table-striped table-bordered">
<thead>
<tr>
<th rowspan="2">ID</th>
<th rowspan="2">Name of the Liquidated Society</th>
<th rowspan="2">Jurisdiction of the Society</th>
<th rowspan="2">Liquidation Order No & Date</th>
<th rowspan="2">Name & Designation of Liquidator</th>
<th colspan="6" class="text-center">In the Liquidated Society</th>
<th rowspan="2">Update</th>
<th rowspan="2">Delete</th>
</tr>
<tr>
<th>Govt Share</th>
<th>Govt Loan</th>
<th>Assets to be recovered</th>
<th>Liability to be discharged </th>
<th>Cancellation Order Number and Date </th>
<th> Surplus amount remitted to CDF</th>
</tr>
</thead>
</table>
我想在标题In the Liquidated Society. 下从govt share 到Surplus amount remitted to CDF 的标题
【问题讨论】:
-
无效的 HTML 代码,
<tr>不允许在<tr>中。你能张贴一张你想要的图片吗? -
这与你的 CSS 有关。正如您在我的图片中看到的那样,边框是正确的。尝试检查
firebug中的 CSS。也许在那里你可以找到为什么它没有正确关闭
标签: html twitter-bootstrap html-table