colgroup: 表格列编组

2017-06-06 16:35:00
admin
原创
535
<html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
 <title>元素colgroup</title>
 </head>
 <body>
 <p>行编组的单元格居中对齐:</p>
 <table border="1" bgcolor="skyblue" width="625">
 <colgroup span="2" align="center" width="100">
 </colgroup>
 <tr>
 <td>colgroup</td><td>spanned</td><td>not in the group</td>
 </tr>
 <tr>
 <td>colgroup</td><td>spanned</td><td>not in the group</td>
 </tr>
 <tr>
 <td>colgroup</td><td>spanned</td><td>not in the group</td>
 </tr>
 </table>
 </body>
 </html>
  • QQ讨论群
  • 关注微信
    • 欢迎咨询
    • 欢迎加入QQ群 16506021
  • 公众号:源宝网络