案例:CSS3 案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
<html>
4
<head>
5
<style type="text/css">
6
caption
7
{
8
caption-side:bottom
9
}
10
</style>
11
</head>
12
<body>
13
14
<table border="1">
15
<caption>This is a caption</caption>
16
<tr>
17
<td>Adams</td>
18
<td>John</td>
19
</tr>
20
<tr>
21
<td>Bush</td>
22
<td>George</td>
23
</tr>
24
</table>
25
26
<p><b>注释:</b>如果已规定 !DOCTYPE,那么 Internet Explorer 8 (以及更高版本)支持 caption-side 属性。</p>
27
28
</body>
29
</html>
30