<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> | |
<html> | |
<head> | |
<title>CSS 2.1 Test Suite: Containing block for absolute positioning</title> | |
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details"> | |
<style type="text/css"> | |
body { background: red; margin: 100px 100px; } | |
div { background: white; color: green; position: absolute; top: 0; right: 0; bottom: 0; left: 0; } | |
</style> | |
</head> | |
<body> | |
<div> | |
There should be no red on this page. | |
</div> | |
</body> | |
</html> |