From version < 9.1 >
edited by sas
on 22.03.2021, 15:11
To version < 10.1 >
edited by sas
on 28.05.2021, 16:17
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -64,3 +64,14 @@
64 64  {{/code}}
65 65  
66 66  Most properties do not require this, however.
67 +
68 +== Enforce page break ==
69 +
70 +To create a defined page break, the page-break attributes must be set via CSS. The corresponding container or element has to be selected via the xn attribute. Please note that the CSS property //display //must be set to //block//, otherwise no line break will be created. In this example, a line break should be created before the container //div1//.
71 +
72 +{{code language="css"}}
73 +[xn=div2] {
74 + display: block !important;
75 + page-break-before: always;
76 +}
77 +{{/code}}
Copyright 2000-2025