New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Width of table and cells #313
Labels
Comments
I used different library. |
normally, image and tables work fine. How did you put your image in the td ? |
@spipu as I wrote I used other lib and don't remember how I did it. |
Care to tell anyone what you used or just going to keep that a secret? |
I used https://github.com/mpdf/mpdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think that calculating width of table and cells works differently than in TCPDF.
I tcpdf if You skipped table's
width
param it was always 100% and every column's was adjusting to remaining space.<table><tr><td></td><td></td></tr></table>
In html2pdf If You want render n-columns You have to count and set width of every cell.
<table style="width:100%"><tr><td style="width:50%"></td><td style="width:50%"></td></tr></table>
Can I somehow force
html2pdf
to adjust columns width?The text was updated successfully, but these errors were encountered: