I am generating content that has a lot of images. The images are usually associated with an <h2> tag some <p> tags. I have grouped the <h2>, <p> and <img> together in a <div> and am using page-break-inside: avoid; to keep them together. This works well is most cases.
Sometimes when an image is really tall I will see a page break after the paragraph text. What I end up with is a <h2> and a <p> near the top of the page, a lot of white space and then the image on the next page. I'm wondering if there is a way to have Prince try to make the image fit on the same page as the <h2> and <p> content by scaling it up to some specified percentage?
Sometimes when an image is really tall I will see a page break after the paragraph text. What I end up with is a <h2> and a <p> near the top of the page, a lot of white space and then the image on the next page. I'm wondering if there is a way to have Prince try to make the image fit on the same page as the <h2> and <p> content by scaling it up to some specified percentage?
Trevor DeVore
ScreenSteps
http://www.screensteps.com