Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>CSS Test: Test for containing block for absolutely positioned elements being initial containing block</title>
<link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
</head><body style="margin:0;">
<div style="position:relative; top:100px; left:100px; height:100px; border:10px solid black;">
<div style="position:absolute; bottom:0; height:30px; border:10px solid orange;">
</div>
</div></body></html>