title: Avoid div/tables cut when printing
body: <p>I am using the editable invoice template to make the invoice. It looks great on the browser but when a certain number of item is added in the table, the bottom part(as attached in image) becomes cut like that. How do i fix this? I want it to automatically printed to second page when the item is many, and printed on the first page when it fits well.</p>
  
  <p>Thanks! </p>
  
  <p><img src="https://i.stack.imgur.com/ElnTB.png" alt="enter image description here"></p>