blob: d51c98ad0f46492dab965b618fddc8c1fc5db1b6 [file] [log] [blame]
ap9cd074c2006-01-05 20:48:53 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
thatcherffd46e02005-10-25 00:42:22 +00002<html>
3 <head>
4 <title>CSS 2.1 Test Suite: Floating Elements</title>
5 <style type="text/css">
6 p { color: navy; }
7 .test { width: 15em; margin: 1em; padding: 0; background: white; color: white; }
8 .test img.left { float: left; }
9 .test img.right { float: right; width: 15em; height: 7em; }
10 .test span { font: 6em monospace; }
11 </style>
darinec375482007-01-06 01:36:24 +000012 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats">
thatcherffd46e02005-10-25 00:42:22 +000013 </head>
14 <body>
15 <p>The word &quot;fail" should not appear below, just a green block.</p>
16 <div class="test">
17 <img alt="FAIL: You need image support for this test." src="support/1x1-transparent.png" class="left">
18 <img alt="FAIL: You need image support for this test." src="support/1x1-green.png" class="right">
19 <span> FAIL </span>
20 </div>
21 <!-- this test actually failed in Mozilla once -->
22 </body>
23</html>