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 (row data is 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 in a row can be horizontally and vertically aligned.">
9 <style type="text/css">
10 tr
11 {
12 vertical-align: middle;
13 text-align: center;
14 }
15 td
16 {
17 width: 10em;
18 height: 10em;
19 border: solid;
20 }
21 </style>
22 </head>
23 <body>
24 <p>Test passes if the "Filler Text" is horizontally and vertically centered in each of the boxes below.</p>
25 <table>
26 <tr>
27 <td>Filler Text</td>
28 <td>Filler Text</td>
29 <td>Filler Text</td>
30 </tr>
31 </table>
32 </body>
33 </html>