title: table borders disappearing in tcpdf
body: <p>I'm setting up tcpdf to generate invoices on the fly for customers, but when I add an image, the borders are disappearing from my table. Here's the code:</p>
  
  <pre><code>/*
  if ($status == "Paid") {
      $pdf-&gt;Image("/wp-content/themes/Feather/images/Paid.jpg", 10, 60, 190, '', '', '', 'T', false, "300", '', false, false, 0, false, false, false);
  } elseif ($status == "Overdue") {
       $pdf-&gt;Image("/wp-content/themes/Feather/images/Overdue.jpg", 10, 60, 190, '', '', '', 'T', false, "300", '', false, false, 0, false, false, false);
  } elseif ($status == "Cancelled") {
       $pdf-&gt;Image("/wp-content/themes/Feather/images/Void.jpg", 10, 60, 190, '', '', '', 'T', false, "300", '', false, false, 0, false, false, false);
  }
  */
  $pdf-&gt;SetXY($x=20, $y=30);
  $pdf-&gt;writeHTML($html, true, false, true, false, '');
  $pdf-&gt;lastPage();
  </code></pre>
  
  <p>Here's the HTML I'm using:</p>
  
  <pre><code>$html = $html . '
  &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;
  &lt;table width="600px" cellspacing="1" cellpadding="4" border="1"&gt;
  &lt;tr&gt;
      &lt;th width="200px"&gt;Product&lt;/th&gt;
      &lt;th width="65px"&gt;Code&lt;/th&gt;
      &lt;th width="65px"&gt;Quantity&lt;/th&gt;
      &lt;th width="65px"&gt;Unit Price&lt;/th&gt;
      &lt;th width="65"&gt;VAT Rate&lt;/th&gt;
      &lt;th width="65"&gt;VAT Amount&lt;/th&gt;
      &lt;th width="65"&gt;Line Total&lt;/th&gt;
  &lt;/tr&gt;';
  foreach ($inv_lines as $inv_line) {
  $html = $html .
          '&lt;tr&gt;
          &lt;td&gt;' . $inv_line['item_desc'] . '&lt;/td&gt;
          &lt;td&gt;' . $inv_line['item_no'] . '&lt;/td&gt;
          &lt;td&gt;' . $inv_line['quantity'] . '&lt;/td&gt;
          &lt;td&gt;' . $inv_line['unit_price'] . '&lt;/td&gt;
          &lt;td&gt;' . $inv_line['vat_rate'] . '&lt;/td&gt;
          &lt;td&gt;' . ($inv_line['quantity'] * $inv_line['vat_rate'] * $inv_line['unit_price'] * 0.01) . '&lt;/td&gt;
          &lt;td&gt;' . $inv_line['line_total'] . '&lt;/td&gt;
      &lt;/tr&gt;';
  </code></pre>
  
  <p>The table appears fine with the code as above, but as soon as I uncomment the image bits, the image appears, but the table borders disappear. I've tried adding inline borders to individual cells, but that doesn't make any impact.</p>
  
  <p>Does anyone have any ideas?</p>