RetroZilla/layout/html/tests/table/bugs/bug3166-18.html

43 lines
1.0 KiB
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>caption side static - 18 - css2</title>
<style type="text/css">
BODY {
margin-left: 8em
}
TABLE {
margin-left: auto;
margin-right: auto
}
CAPTION {
caption-side: left;
margin-left: -8em;
width: 8em;
text-align: right;
vertical-align: bottom
}
</style>
</head>
<body>
<p>
text text text previous paragraph text text above the table more text text text normal paragraph etc. etc.</p>
<table>
<caption>This is the caption. It is right aligned.Also aligned at the bottom</caption>
<tr><th>header</th><th>header</th><th> header</th></tr>
<tr><td>cell</td><td>cell</td><td>cell</td></tr>
<tr><td>cell</td><td>cell</td><td>cell</td></tr>
<tr><td>cell</td><td>cell</td><td>cell</td></tr>
<tr><td>cell</td><td>cell</td><td>cell</td></tr>
<tr><td>cell</td><td>cell</td><td>cell</td></tr>
<tr><td>cell</td><td>cell</td><td>cell</td></tr>
</table>
</body>
</html>