How do you mix page sizes? I need some pages to be US-Letter and some to be US-Legal all within the same document. Thanks!
Forum › How do I...?
Mixed page sizes
You can use named pages, like this:
@page legal {
size: US-legal
}
div.terms { page: legal }
<div class="terms">
This will create a new US legal page.
</div>
Hello,
I am currently testing with the Prince XML demo for my company and I ran into an issue that you may be able to help me with. I'm attempting to set up a 2 page PDF, the first page 1.5"x11" and the second page 8.5"x11". I've followed the examples I was able to find on the forum but for some reason when I change the page size the content area moves down .125" so that the crops and bleeds no longer line up. Please let me know any insight you may have. Thanks!
edit: I simplified my code so it would be easier to read and isolate the problem.
I am currently testing with the Prince XML demo for my company and I ran into an issue that you may be able to help me with. I'm attempting to set up a 2 page PDF, the first page 1.5"x11" and the second page 8.5"x11". I've followed the examples I was able to find on the forum but for some reason when I change the page size the content area moves down .125" so that the crops and bleeds no longer line up. Please let me know any insight you may have. Thanks!
edit: I simplified my code so it would be easier to read and isolate the problem.
Edited by weaver3110
So I was able to find a solution but I'm not completely satisfied with it because it isn't really a solution as much as it is a work around. If you don't mind looking at it, please let me know if there is a better way. Thanks for your time!