The width setting is invalid due to tcpdftable problems.

Source: Internet
Author: User
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 ('
123
');

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.