We use margin-top and margin-bottom to keep our elements spaced properly. For example, our H2s have a margin-top of 14pt to visually set them away from the preceding content.
The problem is, the margins get applied even at the very top (or bottom) of the content area on the printed page. If the @page margins are 1in all around and an H2 is the first element on the page, then it's pushed 14pt down from that 1in top margin.
How do I suppress margin from being applied at the top and bottom of the page content bounding box?
How do I suppress margin-top/margin-bottom at the top/bottom of the content bounding box?
-
- Posts: 284
- Joined: Thu May 02, 2019 2:32 pm
-
- Posts: 284
- Joined: Thu May 02, 2019 2:32 pm
Re: How do I suppress margin-top/margin-bottom at the top/bottom of the content bounding box?
I haven't been able to file a solution, so I filed a support request. I'll update this thread with the results.
Re: How do I suppress margin-top/margin-bottom at the top/bottom of the content bounding box?
Hello Chris,
This is interesting, than you for reporting it. We will try to find a solution.
Many regards,
Dan
This is interesting, than you for reporting it. We will try to find a solution.
Many regards,
Dan
Re: How do I suppress margin-top/margin-bottom at the top/bottom of the content bounding box?
We found something, we could use the space-before and space-after FO attributes instead of margin-top and margin-bottom in the intermediate FO file. We will notify you when we have a build.
-
- Posts: 284
- Joined: Thu May 02, 2019 2:32 pm
Re: How do I suppress margin-top/margin-bottom at the top/bottom of the content bounding box?
We have made the necessary changes. The fix will be available in oXygen/Chemistry 21.1.
Thank you for reporting this issue, the page layout has improved!
Many regards,
Dan
Thank you for reporting this issue, the page layout has improved!
Many regards,
Dan
-
- Posts: 284
- Joined: Thu May 02, 2019 2:32 pm
Re: How do I suppress margin-top/margin-bottom at the top/bottom of the content bounding box?
Thanks Dan. We're one step closer to the commercial processors. 
