darin | ec37548 | 2007-01-06 01:36:24 +0000 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>CSS 2.1 Test Suite: Containing block for absolute positioning</title> |
| 5 | <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details"> |
| 6 | <style type="text/css"> |
| 7 | body { background: red; margin: 100px 100px; } |
| 8 | div { background: white; color: green; position: absolute; top: 0; right: 0; bottom: 0; left: 0; } |
| 9 | </style> |
| 10 | </head> |
| 11 | <body> |
| 12 | <div> |
| 13 | There should be no red on this page. |
| 14 | </div> |
| 15 | </body> |
| 16 | </html> |