已解决问题
谷歌****koa用户在2023.07.26提交了关于“指南者在Bootstrap中如何实现表格合并单元格”的提问,欢迎大家涌跃发表自己的观点。目前共有1个回答,最后更新于2024-08-30T02:35:32。希望大家能够帮助她。详细问题描述及疑问:期待您的答案,你是我的宝贝,你是我的花,谢谢你对我的帮助!
详细问题描述及疑问:期待您的答案,你是我的宝贝,你是我的花,谢谢你对我的帮助!
这篇文章主要介绍了Bootstrap实现的表格合并单元格,涉及bootstrap界面布局相
本文实例讲述了Boot
1、问题背
利用Boots
2、实现源码
<!D
<html>
<head>
<m
<me
<meta
<metanam
<metaname
<title>Boots
<linkrel="sty
<scriptsrc="http://libs.bai**.com/jquery/
<scripttype="text/j**ascript
<style>
body,html{
wi
heig
fon
font-size:14px;
}
table{
width:100%;
}
</style>
<s
</script>
</head>
<b
<pclass="
<pclass="col-xs-1
<tableclass="tabletable-
<tr>
<td>
<l
<inputtype="text"id="stuNo
<pclass="btn-group"style="width:157px;height:26px;">
<buttontype="button"class="btnbtn
班级
</button>
<ulclass="dropdown-me**"role=
<l
<li><ahref="#"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow">二班</a></li>
<li><ahref="#"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow">三班</a></li>
<li><ahref="#"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow">四班</a></li>
<li><ahref="#"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow"rel="externalnofollow">五班</a></li>
</ul>
</p>
<buttontype="button"class="btnbtn-primary">查询</button>
<buttontype="button"class="btn">重置</button>
</td>
</tr>
</table>
</p>
<pclass="col-xs-12">
<pclass="col-xs-2">
<tableclass="tabletable-stripedtable-bordered">
<caption>学生表</caption>
<thead>
<tr>
<th>学生</th>
<th>学号</th>
</tr>
</thead>
<tbody>
<tr>
<td>胡思</td>
<td>2016010101</td>
</tr>
<tr>
<td>赵四</td>
<td>2016010102</td>
</tr>
<tr>
<td>陈诚</td>
<td>2016010103</td>
</tr>
<tr>
<td>李磊</td>
<td>2016010104</td>
</tr>
<tr>
<td>孙杨</td>
<td>2016010105</td>
</tr>
<tr>
<td>李爽</td>
<td>2016010106</td>
</tr>
</tbody>
</table>
<tableclass="tabletable-stripedtable-bordered">
<caption>学生表</caption>
<thead>
<tr>
<th>学生</th>
<th>学号</th>
</tr>
</thead>
<tbody>
<tr>
<td>胡思</td>
<td>2016010101</td>
</tr>
<tr>
<td>赵四</td>
<td>2016010102</td>
</tr>
<tr>
<td>陈诚</td>
<td>2016010103</td>
</tr>
<tr>
<td>李磊</td>
<td>2016010104</td>
</tr>
<tr>
<td>游豪</td>
<td>2016010105</td>
</tr>
</tbody>
</table>
</p>
<pclass="col-xs-10">
<tableclass="tabletable-striped">
<trstyle="text-align:center;">
<td>到校</td>
<td>回家</td>
<td>距离</td>
</tr>
<trstyle="text-align:center;">
<tdcolspan="2"style="text-align:center;">222</td>
<tdrowspan="2"style="width:200px;">
<pclass="col-xs-12">
<tableclass="tabletable-stripedtable-bordered">
<thead>
<tr>
<th>姓名</th>
<th>学号</th>
</tr>
</thead>
<tbody>
<tr>
<td>胡思</td>
<td>2016010101</td>
</tr>
</tbody>
</table>
</p>
</td>
</tr>
<tr>
<tdcolspan="2"style="text-align:center;">333</td>
</tr>
</table>
<tableclass="tabletable-striped">
<trstyle="text-align:center;">
<td>到校</td>
<td>回家</td>
<td>距离</td>
</tr>
<trstyle="text-align:center;">
<tdcolspan="2"style="text-align:center;">222</td>
<tdrowspan="2"style="width:200px;">
<pclass="col-xs-12">
<tableclass="tabletable-stripedtable-bordered">
<thead>
<tr>
<th>姓名</th>
<th>学号</th>
</tr>
</thead>
<tbody>
<tr>
<td>胡思</td>
<td>2016010101</td>
</tr>
</tbody>
</table>
</p>
</td>
</tr>
<tr>
<tdcolspan="2"style="text-align:center;">333</td>
</tr>
</table>
<tableclass="tabletable-striped">
<trstyle="text-align:center;">
<td>到校</td>
<td>回家</td>
<td>距离</td>
</tr>
<trstyle="text-align:center;">
<tdcolspan="2"style="text-align:center;">222</td>
<tdrowspan="2"style="width:200px;">
<pclass="col-xs-12">
<tableclass="tabletable-stripedtable-bordered">
<thead>
<tr>
<th>姓名</th>
<th>学号</th>
</tr>
</thead>
<tbody>
<tr>
<td>胡思</td>
<td>2016010101</td>
</tr>
</tbody>
</table>
</p>
</td>
</tr>
<tr>
<tdcolspan="2"style="text-align:center;">333</td>
</tr>
</table>
<tableclass="tabletable-striped">
<trstyle="text-align:center;">
<td>到校</td>
<td>回家</td>
<td>距离</td>
</tr>
<trstyle="text-align:center;">
<tdcolspan="2"style="text-align:center;">222</td>
<tdrowspan="2"style="width:200px;">
<pclass="col-xs-12">
<tableclass="tabletable-stripedtable-bordered">
<thead>
<tr>
<th>姓名</th>
<th>学号</th>
</tr>
</thead>
<tbody>
<tr>
<td>胡思</td>
<td>2016010101</td>
</tr>
</tbody>
</table>
</p>
</td>
</tr>
<tr>
<tdcolspan="2"style="text-align:center;">333</td>
</tr>
</table>
</p>
</p>
</p>
</body>
</html>3、实现结果
上面是我整理给大家的,希望今后会对大家有帮助。
相关文章:
在Angular中使用Lodash方法具体该怎么做?
vue-router项目实战(详细教程)
详细解答JS操作剪贴板