title: How to create TCPDF HTML table with variable row paddings
body: <p>I'm trying to create an HTML table in TCPDF, with few rows having grater space between rows (padding), and others having smaller padding. </p>
  
  <pre><code>$html = '&lt;table border="0" cellpadding="6"&gt;
          &lt;tr&gt;
              &lt;td style="width="52%"&gt;' . lang('ticket_name') . '&lt;/td&gt;
              &lt;td style="width="18%"&gt;' . lang('ticket_price') . '&lt;/td&gt;
              &lt;td style="width="12%"&gt;' . lang('quantity') . '&lt;/td&gt;
              &lt;td style="width="18%"&gt;' . lang('total') . '&lt;/td&gt;
          &lt;/tr&gt;
      &lt;tr&gt;
              &lt;td style="padding: 10px"&gt;' . $item['name'] . '&lt;/td&gt;
              &lt;td style="padding: 10px"&gt;' . $item['unit_price'] . '&lt;/td&gt;
              &lt;td style="padding: 10px"&gt;' . $item['quantity'] . '&lt;/td&gt;
              &lt;td style="padding: 10px"&gt;' . $item['row_total'] . '&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style="text-align:right" colspan="3"&gt;' . lang('price_basis') . ': &lt;/td&gt;
              &lt;td&gt;' . $totals['total_before_tax'] . '&lt;/td&gt;
          &lt;/tr&gt;
              &lt;tr&gt;
              &lt;td style="text-align:right" colspan="3"&gt;' . 'Ukupni popust' . ': &lt;/td&gt;
              &lt;td&gt;' . $totals['total_discount'] . '&lt;/td&gt;
          &lt;/tr&gt;
              &lt;tr&gt;
              &lt;td style="text-align:right" colspan="3"&gt;' . 'Sveukupno' . ': &lt;/td&gt;
              &lt;td&gt;' . $totals['grand_total'] . '&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;';
  $pdf-&gt;writeHTML($html, $linebreak = true, $fill = false, $reseth = true, $cell = false, $align = '');
  </code></pre>
  
  <p>As you can see, I have a cellpadding attribute in the table tag, which is working fine, but I want to have a different padding in the second row. 
  Padding style obviously isn't working on 'td' nor on 'tr' tags.</p>
  
  <p>I know it can be done with two separate tables with different cellpaddings, but it seems pretty wrong. There must be another way.</p>