Bootstrap-表格合并单元格

分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

               

1、问题背景

     利用Bootstrap设计表格,并且表格需要合并单元格


2、实现源码

<!DOCTYPE html><html> <head>  <meta charset="utf-8">     <meta http-equiv="X-UA-Compatible" content="IE=edge">     <meta name="viewport" content="width=device-width, initial-scale=1">     <meta name="description" content="">     <meta name="author" content="">     <link rel="icon" href="js/bootstrap-3.3.5/docs/favicon.ico">  <title>Bootstrap-表格合并单元格</title>  <link rel="stylesheet" href="js/bootstrap-3.3.5/dist/css/bootstrap.css" />  <script type="text/javascript" src="js/jquery-1.12.4.js" ></script>  <script type="text/javascript" src="js/bootstrap-3.3.5/dist/js/bootstrap.js" ></script>  <style>   body,html{    width: 99%;    height: 98%;    font-family: "微软雅黑";    font-size: 14px;   }   table{    width: 100%;   }  </style>  <script>     </script> </head> <body>  <div class="row">   <div class="col-xs-12">    <table class="table table-striped">     <tr>      <td>       <label for="stuNo">学号:</label>       <input type="text" id="stuNo" />       <div class="btn-group" style="width: 157px; height: 26px;">          <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" style="width: 157px; height: 26px;">              班级           </button>          <ul class="dropdown-menu" role="menu">             <li><a href="#">一班</a></
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值