title: mPDF cuts the contents of the column
body: <p>First code:</p>
  
  <pre><code>$mpdf = new MPDF('','',0,'',15,15,5,5);
  
  $mpdf-&gt;AddPage('P','A4'); 
  $mpdf-&gt;SetColumns(2,'',1); 
  
  $mpdf-&gt;WriteHTML('
  &lt;table style="width:326px;background:none;border-width:1px;border-style: dotted;border-color:grey;padding:8px;"&gt;  
     &lt;tr&gt;
     &lt;td&gt;
  ....the contents of the table number 1.....
   &lt;/td&gt;
   &lt;/tr&gt;
   &lt;/table&gt;
  
  ', 0);     
  
  $mpdf-&gt;WriteHTML('
  &lt;table style="width:326px;background:none;border-width:1px;border-style: dotted;border-color:grey;padding:8px;"&gt;  
     &lt;tr&gt;
     &lt;td&gt;
  ....the contents of the table number 2.....
   &lt;/td&gt;
   &lt;/tr&gt;
   &lt;/table&gt;
  
  ', 0);     
  </code></pre>
  
  <p>I want to generate a PDF-based form php. Ultimately, the data to be displayed in tables, each table will contain
  records of the loop. Thus, the display will be as many tables, how many records.
  I can not come to terms with the display tables. I want them to show up one after the other
  in two columns, from top to bottom, four tables on page A4.
  At the moment displays the tables 1 in the left column, and 2 tables on the right (in the right column does not respond to the upper margin).
  Tables are such a height that defo fit two vertically.
  Is mPDF that is?
  Please help!
  see photo below</p>
  
  <p><a href="https://i.stack.imgur.com/nnMRt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nnMRt.png" alt="enter image description here"></a></p>