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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.