page-break-before-008.xht (867B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: page-break-before paged media</title> 5 <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#page-break-props"/> 7 <link rel="help" href="http://www.w3.org/TR/css3-page/#pg-br-before-after"/> 8 <meta name="assert" content="The 'page-break-before' property applies to paged media only"/> 9 <meta name="flags" content="paged" /> 10 <style type="text/css"> 11 div { 12 page-break-before: always; 13 border: 2pt solid black; 14 } 15 </style> 16 </head> 17 <body> 18 <div>On screen, the next sentence must appear directly below this one.</div> 19 <div>When printed, however, this sentence must appear at the top of the next page.</div> 20 </body> 21 </html>