1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Containing block for fixed positioning</title>
5 <link rel="author" title="Bert Bos" href="http://www.w3.org/People/Bos/">
6 <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details">
8 <style type="text/css">
9 body { background: red; margin: 100px 100px; }
10 div { background: white; color: green; position: fixed; top: 0; right: 0; bottom: 0; left: 0; }
11 </style>
12 </head>
13 <body>
14 <div>
15 There should be no red on this page.
16 </div>
17 </body>
18 </html>