title: dompdf Page break if element is exceeding page height?
body: <p>What is the best way to do page breaks in dompdf?</p>
  
  <p>I have had a look <a href="http://www.w3schools.com/cssref/pr_print_pagebb.asp">here</a> at the page-break-before css attribute, but it didn't work when I did:</p>
  
  <pre><code>table {page-break-before:auto;}
  </code></pre>
  
  <p>The page still breaks in the middle of my table.</p>
  
  <p>Is it possible to setup my html/css so that the page will break before the element if the element is going to exceed the page height? </p>
  
  <p>Ideally I would like to divide my html up in to div sections so that each section will start on a new page if it is going to exceed the height of the current page.</p>