blob: d51c98ad0f46492dab965b618fddc8c1fc5db1b6 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: Floating Elements</title>
<style type="text/css">
p { color: navy; }
.test { width: 15em; margin: 1em; padding: 0; background: white; color: white; }
.test img.left { float: left; }
.test img.right { float: right; width: 15em; height: 7em; }
.test span { font: 6em monospace; }
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats">
</head>
<body>
<p>The word &quot;fail" should not appear below, just a green block.</p>
<div class="test">
<img alt="FAIL: You need image support for this test." src="support/1x1-transparent.png" class="left">
<img alt="FAIL: You need image support for this test." src="support/1x1-green.png" class="right">
<span> FAIL </span>
</div>
<!-- this test actually failed in Mozilla once -->
</body>
</html>