table表格表头合并单元格问题
来源:互联网 发布:英敏特信息咨询 知乎 编辑:程序博客网 时间:2024/05/16 15:26
1、效果图
2、代码
<thead> <tr> <th rowspan="2">班级</th> <th rowspan="2">人数</th> <th colspan="2">总分平均分</th><th colspan="2">总分平均分(折后)</th> <th colspan="3">语文</th><th colspan="3">数学</th> <th colspan="3">英语</th><th colspan="5">物理</th><th colspan="5">生物化学</th><th colspan="5">历史</th> <th colspan="5">地理</th><th colspan="5">政治</th> </tr> <tr> <th>总分</th> <th>排名</th> <th>总分折后</th> <th>排名</th> <th>科任</th> <th>语总</th> <th>排名</th> <th>科任</th> <th>数总</th> <th>排名</th> <th>科任</th> <th>英总</th> <th>排名</th> <th>科任</th> <th>物总</th> <th>排名</th> <th>物总折后</th> <th>排名</th> <th>科任</th> <th>生化总</th> <th>排名</th> <th>生化总折后</th> <th>排名</th> <th>科任</th> <th>历总</th> <th>排名</th> <th>历总折后</th> <th>排名</th> <th>科任</th> <th>地总</th> <th>排名</th> <th>地总折后</th> <th>排名</th> <th>科任</th> <th>政总</th> <th>排名</th> <th>政总折后</th> <th>排名</th> </tr> </thead>
3、表头样式
tr th { text-align: center; border: 0px solid #ccc !important; border-right-width: 1px !important; border-bottom: 1px solid #333 !important; vertical-align: middle !important; } tr th.cell-m, tbody td { white-space: nowrap; } td.highlight { background-color: whitesmoke !important; } td { text-align: center; } td.d { text-align: right; }
阅读全文
0 0
- table表格表头合并单元格问题
- table表格--合并单元格
- 合并表格(Table)单元格
- 12-table表格单元格合并
- bootstrap-table合并单元格组合表头
- <学习html>第五天笔记-表格table(创建表格、表格属性、表头标签、表格结构、表格标题标签、合并单元格)
- GridView合并表头单元格
- GridView合并单元格表头!
- Swing 表头合并单元格
- jquery合并表头单元格
- 关于table边框,单元格合并的问题
- jquery.table.rowspan.js 表格自动合并单元格插件
- html5中table表格标签中合并单元格
- Table合并单元格,表格居中,内容居中显示
- 合并 GridView 的表头单元格
- jQuery EasyUI 合并表头单元格
- zk column表头合并单元格
- js table 单元格合并
- 执行kubectl exec -it报错分析
- maven的package与install命令区别
- py c 内嵌通信
- 回调函数模拟qsort
- 基于 lua-resty-upload 实现简单的文件上传服务
- table表格表头合并单元格问题
- undefined reference to `floor' 'fmod' 'pow' 'log10'
- 数组基础知识1
- 视觉学习二 ——在虚拟机中移植RMVision(一)
- 机器学习系列-AdaBoost
- 树形图界面的整合
- 流程与IT管理是未来IT行业发展的必经之路
- 发送邮件到qq邮箱、126邮箱后丢失样式
- percona-xtradb-cluster(pxc)初步认识、部署及运维实践