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: Horizontal alignment in a column 'text-align' set to 'left'</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#column-alignment">
7 <meta name="flags" content="">
8 <meta name="assert" content="The 'text-align' property horizontally aligns cell content.">
9 <style type="text/css">
10 table
11 {
12 text-align: center;
13 }
14 td
15 {
16 border: 2px solid blue;
17 height: 120px;
18 text-align: left;
19 width: 120px;
20 }
21 </style>
22 </head>
23 <body>
24 <p>Test passes if "Filler Text" below is aligned to the left within the box.</p>
25 <table>
26 <tr>
27 <td>Filler Text</td>
28 </tr>
29 </table>
30 </body>
31 </html>