每页一个DIV,加上样式page-break-inside:avoid; 即可分页了

.pdfpage{page-break-inside:avoid;}

<div class="pdfpage">1</div> 
<div class="pdfpage">2</div> 
<div class="pdfpage">3</div> 
posted on 2018-05-09 15:30  深海大虾  阅读(6709)  评论(0编辑  收藏  举报