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: Vertical-align set to 'bottom' with a spanning cell</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#height-layout">
7 <meta name="flags" content="">
8 <meta name="assert" content="A spanning cell with Vertical-align set to 'bottom' aligns the cell's content to the bottom of the last row it spans.">
9 <style type="text/css">
10 table
11 {
12 height: 100px;
13 }
14 td
15 {
16 border: 1px solid black;
17 vertical-align: bottom;
18 }
19 #small
20 {
21 font-size: small;
22 }
23 #large
24 {
25 font-size: large;
26 }
27 </style>
28 </head>
29 <body>
30 <p>Test passes if the "Filler Text" is vertically aligned to the bottom of their boxes.</p>
31 <table>
32 <tr>
33 <td></td>
34 <td rowspan="2" colspan="2">
35 <div id="small">Filler Text</div>
36 </td>
37 </tr>
38 <tr>
39 <td>
40 <div id="large">Filler Text</div>
41 </td>
42 </tr>
43 </table>
44 </body>
45 </html>