1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Aligning Table Data (cell data is horizontally aligned)</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#tables-intro">
7 <meta name="flags" content="">
8 <meta name="assert" content="Cell data can be horizontally aligned.">
9 <style type="text/css">
10 table
11 {
12 border: solid;
13 }
14 td
15 {
16 height: 10em;
17 text-align: center;
18 width: 10em;
19 }
20 </style>
21 </head>
22 <body>
23 <p>Test passes if the "Filler Text" is horizontally centered within the box below.</p>
24 <table>
25 <tr>
26 <td>Filler Text</td>
27 </tr>
28 </table>
29 </body>
30 </html>