blob: 9e1594167ad3eabdde58aeabe96b665d757589e8 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: float</title>
<style type="text/css">
.a { background: url(support/pattern-tr.png) center top no-repeat; }
.b { background: url(support/swatch-red.png) left top no-repeat; }
p { margin: 0; float: left; width: 50%; }
img { float: none; color: red; vertical-align: top; }
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats">
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'">
</head>
<body>
<div class="a">
<div class="b">
<p style="float: right">
<img alt="FAIL" src="support/swatch-white.png">
⇦ There should be a green square at the top left of the window.
</p>
<img alt="FAIL" src="support/swatch-green.png">
</div>
</div>
</body>
</html>