abspos-paged-001.xht (1007B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Positioning in paged media: Initial containing block</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/absolute/paged/001.html" type="text/html"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#page-intro" /> 8 <meta name="flags" content="paged"/> 9 <style type="text/css"> 10 div { page-break-after: always; } 11 h1 { position: absolute; top: 2em; left: 1em; font: 6em monospace; } 12 </style> 13 </head> 14 <body> 15 <p>Display this in a paged media. The word PASS should display below 16 (followed by three mostly-blank pages).</p> 17 <div><h1>P</h1></div> 18 <div><h1> A</h1>Blank Page 1</div> 19 <div><h1> S</h1>Blank Page 2</div> 20 <div><h1> S</h1>Blank Page 3</div> 21 </body> 22 </html>