page-break-after-006.xht (822B)
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-after applies to 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-after' property applies to paged media only"/> 9 <style type="text/css"> 10 div { 11 page-break-after: always; 12 } 13 </style> 14 </head> 15 <body> 16 <div>When viewed on paged media, the next line must appear on a second page.</div> 17 18 <div>On continuous media, however, this line must appear directly below the line above.</div> 19 </body> 20 </html>