Skip to content
Advertisement

How can I place img and a elements to each other in TCPDF?

I have figured out a new problem in TCPDF (new for me), ie I can’t place elements next to each other. I have tried so many solutions but they were zero in the end. Seems like TCPDF doesn’t support the converting from all the css attributes. Hope you can help 😉 The code I had tried:

JavaScript

And the html:

JavaScript

Thanks in advance for the answers!

Advertisement

Answer

Okay, found a method, I had changed the whole framework to another (dompdf), which is easier to use and supports the newer CSS too.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement