Is there a way to limit pagebreaks when-and-only-when there is an element that has a "page-break-before" attribute? I want to avoid the assumption that PDF pages should be a uniform size.
Use case: I merge several XHTML documents into one and then generate a single PDF using Prince. Each elemental document had its own header and each has a slightly different printed page size. The final document is not meant to be printed (only viewed on screen) and I want avoid the white-space that comes with having uniform page sizes.
Is this something I can do with CSS? Ideas? Suggestions?
:?:
Use case: I merge several XHTML documents into one and then generate a single PDF using Prince. Each elemental document had its own header and each has a slightly different printed page size. The final document is not meant to be printed (only viewed on screen) and I want avoid the white-space that comes with having uniform page sizes.
Is this something I can do with CSS? Ideas? Suggestions?
:?:
John Clarke
Cornerstone Systems Northwest Inc.