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-before (no inherit)</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="flags" content="paged">
9 <meta name="assert" content="The 'page-break-before' property is not inherited.">
10 <style type="text/css">
11 div.kidsIgnoreMe {
12 page-break-before: always;
13 }
14 </style>
15 </head>
16 <body>
17 <div class="kidsIgnoreMe">
18 <div>This test produces one or two pages of output on paged media. This sentence must be on the same page as the next sentence.</div>
19 <p>This sentence must appear on the same page as the text above.</p>
20 </div>
21 </body>
22 </html>