Skip to content Skip to sidebar Skip to footer

Tcpdf: Writing Multiple Images After Eachother Using Writehtml Renders Images In A "staircase" Shape Instead Of In A Straight Line

I'm using the PHP class TCPDF's writeHTML method for creating a PDF document. It works great and seems to cover what I need, but when I try to create multiple images in a straight

Solution 1:

Have you considered trying to put it in a table?

<table>
  <tr>
   <td>
     <img src="x.png">
   </td>
   <td>
     <img src="x.png">
   </td>
   <td>
     <img src="x.png">
   </td>
   <td>
     <img src="x.png">
   </td>
 </tr>
</table>

Post a Comment for "Tcpdf: Writing Multiple Images After Eachother Using Writehtml Renders Images In A "staircase" Shape Instead Of In A Straight Line"