Tcpdftable problem, invalid width setting $ pdf-& gt; SetXY (30,720); $ pdf-& gt; writeHTML ('& lt; tableborder = 1 height = 250 style = & quot; width: 80px; & quot; & gt; & lt; tr & gt; & lt; tdheight = 25 tcpdf table. the width setting is invalid.
$ Pdf-> setxy( 30,720 );
$ Pdf-> writeHTML ('
');
Table border = 1 height = 250 width = 80
The effect is the same. If the width is greater than 80, no matter what data is changed, it remains unchanged.
I mean it crashed. who is the author of this broken thing .. Immature products are also available, although a little useful, but there are too many bugs
------ Solution --------------------
Haha! Indeed, Chinese support is also problematic.
I don't need it anyway. when I need a pdf, I only need to get it in fpdf.
Although the programming volume is larger, everything is under control.
------ Solution --------------------
Haha, the last time I replied to you, I told you that this is not easy to use and I had to make a hard move.
You can try dompdf to simplify the code as much as possible. What else do you need to write the html, set the X and Y? it is to give you a csdn homepage and convert it into a PDF, dompdf directly imports this html and it will be automatically converted. However, the effect of dompdf cannot be improved. Otherwise, we will not spend that effort compiling wkhtmltopdf.