Php uses tcpdf, and the text paragraphs are misplaced in the pdf file generated by html. How do you need to solve it?

php uses tcpdf, and the pdf file generated by html has misplaced text paragraphs. What do you need to do?
text paragraphs are normal for typesetting under html, that is, when generating pdf files, text paragraphs are misplaced
1 and html, as shown in figure:

2html

3pdf

.

I don"t know what the problem is and how to solve it?

Jun.30,2022
Menu