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: Inline-table</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#table-display">
7 <meta name="flags" content="">
8 <meta name="assert" content="An element with 'display: inline-table' is rendered as if it were an inline.">
9 <style type="text/css">
10 #table
11 {
12 background: orange;
13 display: inline-table;
14 }
15 #row
16 {
17 display: table-row;
18 }
19 #cell
20 {
21 display: table-cell;
22 height: 1in;
23 width: 1in;
24 }
25 </style>
26 </head>
27 <body>
28 <p>Test passes if the "Filler Text" below is all on the same line.</p>
29 <div>
30 <span>Filler Text</span>
31 <div id="table">
32 <div id="row">
33 <div id="cell">Filler Text</div>
34 </div>
35 </div>
36 </div>
37 </body>
38 </html>