首页 > 其他 > 详细

单元格样式

时间:2016-04-30 06:29:43      阅读:194      评论:0      收藏:0      [点我收藏+]

<
html> <head> <title></title> <style type="text/css"> .table { width: 100%; padding: 0; margin: 0; } th { font: bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; border-right: 1px solid #000; border-bottom: 1px solid #000; border-top: 1px solid #000; letter-spacing: 2px; text-transform: uppercase; text-align: left; padding: 6px 6px 6px 12px; } td { border-right: 1px solid #000; border-bottom: 1px solid #000; background: #fff; font-size:14px; padding: 6px 6px 6px 12px; } th.spec,td.spec { border-left: 1px solid #000; } </style> </head> <body> <table class="table" cellspacing="0" summary="The technical specifications of the Apple PowerMac G5 series"> <tr> <th class="spec">选择</th> <th>课程名称</th> <th>课程编号</th> <th>已经考试次数</th> </tr> <tr> <td class="spec">1</td> <td>1</td> <td>1</td> <td>1</td> </tr> <tr> <td class="spec">2</td> <td>2</td> <td>2</td> <td>2</td> </tr> <tr> <td class="spec">3</td> <td>3</td> <td>3</td> <td>3</td> </tr> </table> </body> </html>

 

选择课程名称课程编号已经考试次数
1 1 1 1
2 2 2 2
3 3 3 3

单元格样式

原文:http://www.cnblogs.com/30go/p/5447967.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!