table-page-break-inside-avoid-3-print-ref.html (664B)
1 <!DOCTYPE html> 2 <html lang="en-US"> 3 <head> 4 <title>CSS Test: CSS 2.1 page-break-inside:avoid</title> 5 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=685012"> 6 <meta name="flags" content="paged"> 7 <style type="text/css"> 8 @page { size:5in 3in; margin:0.5in; } 9 p { height: 1in; width: 1in; margin:0; background-color:blue; } 10 11 table { display:inline-table; } 12 </style> 13 </head> 14 <body> 15 <table border="1"> 16 <tbody> 17 <tr><td><p>1</p></td></tr> 18 </tbody> 19 </table> 20 <div style= "page-break-after: always"></div> 21 <table border="1"> 22 <tbody></tbody> 23 <tbody> 24 <tr><td><p>2</p><p>3</p><p>4</p></td></tr> 25 </tbody> 26 </table> 27 </body> 28 </html>