简体   繁体   中英

Table did not continue to second page.. DOMPDF

I'm just a beginner in using DOMPDF w/ php... I'm having problems with page break in tables., table did not continue to second page..

I'm running Win7, PHP Version 5.3.8, DOMPDF_0-6-0_beta3
I've already added page-break-after:always; in table styles.

通过删除表单方法并确保表不在另一个表中来解决此问题。

您可以尝试table-layout:fixed

I had the same problem. I solved it by taking the Table out of the "Header" section and DOMPDF sorted the rest out. Header sections don't wrap like the body of an HTML view does.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM