title: Multi-Page invoice printing on one page
body: <p>I have an invoice that contains over 100 lines of product that I am trying to print. This single invoice should take over 3 pages, but when printed, the content flows off the footer and the next page is the following invoice.</p>
  
  <p>I am using divs instead of tables, and I can't understand why the long invoices will not print on multiple pages.</p>
  
  <p>Any ideas?</p>
  
  <p>Here's my stylesheet:</p>
  
  <pre><code>h1,h2,h3 { margin: 0 0 0.5em 0; padding: 0;}
  body { font-family: sans-serif; font-size: 0.8em; }
  label, legend { font-weight: bold; }
  pre { font-family: sans-serif; }
  
  shipping_address {
    width: 45%;
  }
  
  billing_address {
    width: 45%;
  }
  
  order_info {
    padding: 0 10px;
  }
  
  shipping_logo {
    width: 115px;
  }
  
  content {
    margin: 0px auto 0px auto;
    width: 100%;
    padding-bottom:15px;
  }
  
  div.container {
    display: table;
    width: 100%;
  }
  div.header {
    display: table-row;
    text-align: center;
  }
  div.row {
    display: table-row;
  }
  
  .even {
    background: #CCCCCC none repeat scroll 0 0;
  }
  
  div.cell {
    display: table-cell;
    padding: 0 10px;
  }
  </code></pre>