Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML>
<html>
<title>CSS 2.1 Test Suite: Test for float placement rules (reference)</title>
<link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
<body style="width:200px; font-size:5px;">
<div style="position:absolute; background:green; width:100px; height:100px;"></div>
<div style="position:relative; left:100px; width:100px; height:100px;">
H
<div style="background:blue; width:100px; height:100px;"></div>
</div>
</body>
</html>