Skip to main content
Erwin.Timmerman
Inspiring
November 12, 2019
Question

PDF page box model

  • November 12, 2019
  • 4 replies
  • 304 views

(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.

This topic has been closed for replies.

4 replies

Peter Grainge
Community Expert
Community Expert
November 14, 2019

See this thread for information.


www.grainge.org

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
November 12, 2019

So essentially more information similar to your other thread. Let's deal with that first.

 

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Erwin.Timmerman
Inspiring
November 12, 2019

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 🙂

Peter Grainge
Community Expert
Community Expert
November 12, 2019

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.


www.grainge.org

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.