title: TCPDF: Vertical alignment in a TD with text and image
body: <p>I have been looking through various forums but have not found a way to solve my problem.</p>
  
  <p>I have a piece of HTML which I display in the view and render to PDF with TCPDF. The HTML looks fine but it does not seem to work in TCPDF.</p>
  
  <p>I have the following table cell that contains text (3a-2b) and next to it the image. The alignment should be like in the second image.</p>
  
  <p>PDF:<img src="https://i.stack.imgur.com/lOSyI.png" alt="table cell pdf"> Browser:<img src="https://i.stack.imgur.com/YO2mj.png" alt="table cell html"></p>
  
  <ul>
  <li>I have tried CSS (vertical-align, height, line-height, margin, padding ...)</li>
  <li>I have found this Article <a href="http://bytethinker.com/blog/tcpdf-and-vertical-alignment-of-table-cells" rel="nofollow noreferrer">http://bytethinker.com/blog/tcpdf-and-vertical-alignment-of-table-cells</a></li>
  </ul>
  
  <p>but nothing seems to work.</p>
  
  <p>I know I could use the entire text as an image but this is just an example.</p>
  
  <p>Is there any other way?</p>