سؤال

I'm using php library mpdf for generating pdf files from HTML content. For short paragraph text mpdf is working normally but when there is more than one page long content mpdf is generating pdf file within a single page with very small font. It doesn't worked when I gave sufficient font-size.

Is there any parameter that can be set for page break in mpdf ?

هل كانت مفيدة؟

المحلول

Please use <div> instead of using <table>. MPDF will shrink the content inside <tr> <td> to o

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top