Welcome Guest Search | Active Topics | Sign In | Register

HTML to PDF page break Options
Posted: Wednesday, May 11, 2011 1:40:14 PM
Rank: Member
Groups: Member

Joined: 4/20/2011
Posts: 19
I have the latest and greatest EO.pdf - Version 3.0.30.2 and when im using the HTML to PDF converter for my reports it handles the 1st to 2nd page awesome for text, it doesn't split the text it moves it to the next page perfectly, however when our logo hits the page break, half the image is on the first page and half the image is on the 2nd page. Is this a bug or is there some sort of work around I can use to get the image to properly roll over to the next page without splitting it?
eo_support
Posted: Wednesday, May 11, 2011 1:46:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Try to apply page-break-inside:avoid to your image element. The converter tries to automatically avoid breaking a single line of text into multiple pages, but it does not do so automatically with images (because some images should NOT be kept on the same page, such as background images). As a result, you must manually apply page-break-inside:avoid to the elements that you do not wish to span into multiple pages. Note this applies to any HTML element, not just image element.

Thanks!
Posted: Wednesday, May 11, 2011 1:52:54 PM
Rank: Member
Groups: Member

Joined: 4/20/2011
Posts: 19
Worked perfect! Thanks for the quick response.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.