table-page-break-inside-avoid-5-print-ref.html (650B)
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 tr,table { page-break-before:always; } 12 </style> 13 </head> 14 <body> 15 <p>1</p> 16 <table class="test" border="1"> 17 <tr><td>I have page-break-after: always</td></tr> 18 <tr><td>I have page-break-after: always</td></tr> 19 <tr><td>I have page-break-after: always</td></tr> 20 </table> 21 22 </body> 23 </html>