Copy link to clipboard
Copied
(RH2019.0.9 New UI)
What's the pdf page box model in combination with the pdf master page?
If I position a logo absolute in the header and then adjust the margin of the header line below it, the logo shifts up...? Apparently the positioning isn't towards the page but towards the header top, which can shift up just by adjusting the margin of a <p> element in the header? I would expect the margin towards the page would be set in stone by the page margin in the output preset parameters.
It took quite a bit of trial and error to get the positioning of floating elements in the header and footer right. It's OK now, but honestly I don't know why 🙂
Is there any page somewhere that describes the pdf page box model? Most pages I could find just explain how the GUI works but I'd like to know which parameters have an influence on, or override, other parameters.
Copy link to clipboard
Copied
What are you referring to when you say PDF Box Model? I haven't seen Adobe refer to that in any documentation I have seen.
Copy link to clipboard
Copied
Similar to the HTML box model, where the distances of margin, border and padding is explained. I couldn't come up with a better word for it 🙂
Basically, a drawing of a page with a rectangle for the header, body and footer, showing where the page margins and header margins apply, and optionally HTML elements inside it. Especially floating elements that are positioned toward the top, right or left... of what? If the margins of HTML elements inside the header change the page margin I'd like to know, for example.
Or, if I increase the header margin, does that decrease the body size down or the header size up?
It took me quite some fiddling to figure this out and it wasn't always what I expected it to be.
I also would like to be able to position images relative to the page edge instead of the text margins. But as far as I could determine that wasn't really possible. Or I'm probably doing something wrong 🙂
Copy link to clipboard
Copied
So essentially more information similar to your other thread. Let's deal with that first.
Copy link to clipboard
Copied
See this thread for information.