title: Why doesn't border-collapse work in html2pdf?
body: <p>I want to create a pdf with an html table like : <img src="https://i.stack.imgur.com/eAsmE.png" alt="tableEx"></p>
  
  <p>So, I created this html :</p>
  
  <pre><code>&lt;table style="width: 100%; border:2px solid; border-collapse: collapse; padding: 0; margin: 0;"&gt;
      &lt;tr style="border-bottom: 1px solid;"&gt;
          &lt;th style="border-left: 1px solid; width: 60%;"&gt;Ref produit&lt;/th&gt;
          &lt;th style="border-left: 1px solid; width: 10%;"&gt;Taille&lt;/th&gt;
          &lt;th style="border-left: 1px solid; width: 10%;"&gt;Quantit�&lt;/th&gt;
          &lt;th style="border-left: 1px solid; width: 10%;"&gt;Prix net HT&lt;/th&gt;
          &lt;th style="border-left: 1px solid; width: 10%;"&gt;Montant HT&lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td style="border-left: 1px solid;"&gt;BAL100&lt;/td&gt;
          &lt;td style="border-left: 1px solid; text-align: center;"&gt;S&lt;/td&gt;
          &lt;td style="border-left: 1px solid; text-align: center;"&gt;20&lt;/td&gt;
          &lt;td style="border-left: 1px solid; text-align: center;"&gt;22.00&lt;/td&gt;
          &lt;td style="border-left: 1px solid; text-align: center;"&gt;440&lt;/td&gt; 
      &lt;/tr&gt;
      &lt;tr&gt;
      .
      .
      .
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>The pdf result is:</p>
  
  <p><img src="https://i.stack.imgur.com/Hhcty.png" alt="enter image description here"></p>
  
  <p>The borders disappeared!</p>
  
  <p>If I remove the property <code>border-collapse: collapse;</code> the borders appear but the result is not appropriate.</p>
  
  <p><del>I see on the <a href="http://www.yaronet.com/en/posts.php?s=119507" rel="nofollow noreferrer">official forum</a> (french post) that</del> the property border-collapse works only on the tag <code>table</code>. So I don't understand why my table is not generated properly.</p>
  
  <p>Any idea? </p>
  
  <p>Here is my php code to generate the pdf </p>
  
  <pre><code>$html2pdf = new HTML2PDF('P','A4','fr');
  $html2pdf-&gt;WriteHTML($htmlContent);
  $html2pdf-&gt;Output($path, 'F');
  </code></pre>