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: Paged media - page-break-before on floats</title>
5 <link rel="author" title="Melinda Grant" href="mailto:melinda.grant@hp.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 applies to floated block-level elements in normal flow.">
10 <style type="text/css">
11
12 #floated {
13 float: right;
14 page-break-before: always;
15 width: 50%;
16 }
17
18 </style>
19 </head>
20 <body>
21 <div>
22 <p>This test produces two pages when displayed on paged media. This paragraph is the only content on page one.</p>
23 <div id="floated">This paragraph is on page two and is entirely on the right side of the page.</div>
24 </div>
25 </body>
26 </html>