Extra blank page when converting HTML to PDF using abcPDF.
Posted
by ProfK
on Stack Overflow
See other posts from Stack Overflow
or by ProfK
Published on 2010-03-04T13:23:05Z
Indexed on
2010/03/15
23:29 UTC
Read the original article
Hit count: 1154
I have an HTML report, with each print page contained by a <div class="page">
. The page class is defined as
width: 180mm;
height: 250mm;
page-break-after: always;
background-position: centre top;
background-image: url(Images/MainBanner.png);
background-repeat: no-repeat;
padding-top: 30mm;
After making a few changes to my report content, when I call abcPDF to convert the report to PDF, suddenly I'm getting a blank page inserted after every real report page. I don't want to roll back the changes I've just made to remove this problem, so I'm hoping someone may know why the extra pages are being inserted.
© Stack Overflow or respective owner