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: Replaced Elements</title>
5 <meta name="flags" content="image">
6 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#replaced-elements">
7 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
8 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
9 <style type="text/css">
10 html, body, p { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
11 p { color: navy; }
12 img { display: block; margin-right: auto; margin-left: auto; width: 50%; }
13 </style>
14 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#block-replaced-width" title="10.3.4 Block-level, replaced elements in normal flow">
15 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height" title="10.6.2 Inline replaced elements, block-level replaced elements in normal flow, 'inline-block' replaced elements in normal flow and floating replaced elements">
16 </head>
17 <body>
18 <p>
19 Below this paragraph there should be a big blue square half the
20 width of the window and centered.
21 </p>
22 <p><img src="support/swatch-blue.png" alt="FAIL: Images required for this test."></p>
23 </body>
24 </html>