How do I keep paragraph or tip macro content from splitting at the end of a page in a pdf export in On Demand?
There is no real solution for this.
In theory it should work with "page-break-before", "page-break-after" and especially with "page-break-inside". For example, adding the following code to your PDF export stylesheet should prevent paragraphs from breaking.
p { page-break-inside: avoid; }
The problems is, it seems "page-break-inside" is not supported by the confluence CSS renderer. So all you can do, is try to find some solution with "page-break-after" or "page-break-before".
Thank you, Steffen. I guess I expected this answer, but was hoping there was a real solution. Appreicate your feedback!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.