鱼儿Blog

BT的人未必是坏人,对你笑的人未必希望你笑

DonewsBlog Donews首页 Donews社区 Donews邮箱 我的首页 联系作者 聚合 Atom 登录
  125 文章 :: 0 收藏 :: 316 评论 :: 0 Trackbacks

公告

禁止浪费电话费,我用Tom-Skype 详细请看 http://skype.tom.com
                  

文章

收藏

相册

天天访问的网站

存档

表格的分组显示(Structured Table) (IExplore Only)

1)按行分组
<thead> ... </thead> - 表的题头(Header)
<tbody> ... </tbody> - 表的正文(Body)
<tfoot> ... </tfoot> - 表的脚注(Footer)

例:
<table border>
<thead>
<tr><th>Food</th><th>Drink</th><th>Sweet</th>
</thead>
<tbody>
<tr><td>A</td><td>B</td><td>C</td>
<tr><td>D</td><td>E</td><td>F</td>
</tbody>
</table>

2)按列分组
<colgroup align=#> #=left, right, center

例:
<table border width=160>
<colgroup align=left>
<colgroup align=center>
<colgroup align=right>
<thead>
<tr><th>Food</th><th>Drink</th><th>Sweet</th>
</thead>
<tbody>
<tr><td>A</td><td>B</td><td>C</td>
<tr><td>D</td><td>E</td><td>F</td>
</tbody>
</table>

3)列的属性控制
<col span=#> #=从左数起,具有指定属性的列的列数
<col align=#> #=left, right, center

例:
<table border width=160>
<colgroup>
<col align=center span=2>
<colgroup align=right>
<thead>
<tr><th>Food</th><th>Drink</th><th>Sweet</th>
</thead>
<tbody>
<tr><td>A</td><td>B</td><td>C</td>
<tr><td>D</td><td>E</td><td>F</td>
</tbody>
</table>

Trackback: http://tb.donews.net/TrackBack.aspx?PostId=93121


[点击此处收藏本文]  发表于2004年09月08日 11:43 PM




正在读取评论……

发表评论

大名:
网址:
验证码
评论: