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: 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 <meta name="flags" content="paged">
10 <style type="text/css">
11 div {
12 page-break-after: always;
13 }
14 </style>
15 </head>
16 <body>
17 <div>When viewed on paged media, the next line must appear on a second page.</div>
18
19 <div>On continuous media, however, this line must appear directly below the line above.</div>
20 </body>
21 </html>