Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sauravs012's avatar

Table not fit inside pdf using DOPPDF laibrary

I've used DOMPDF laibray for generate PDF from html but table is not fit inside pdf using it. Table width stretches after PDF conversion. Thank You!

0 likes
1 reply
sauravs012's avatar

fixed using

<table id="customermeta" width="100%" style="table-layout:fixed;">

Please or to participate in this conversation.