How do I suppress margin-top/margin-bottom at the top/bottom of the content bounding box?
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 907
- Joined: Thu May 02, 2019 2:32 pm
How do I suppress margin-top/margin-bottom at the top/bottom of the content bounding box?
Post by chrispitude »
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?
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?
-
- Posts: 907
- 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?
Post by chrispitude »
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?
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: 907
- 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: 907
- 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?
Post by chrispitude »
Thanks Dan. We're one step closer to the commercial processors.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service