... |
... |
@@ -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}} |