Skip to content

Commit 475f2f0

Browse files
committed
[css2] Smaller page margins.
No break before the H1 inside div.head. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403248
1 parent 0063922 commit 475f2f0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

css2/style/default.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ div.issue, p.issue {border: thin solid red; padding: 0.5em}
189189
}
190190
*/
191191

192+
@page {
193+
margin: 2cm 1.5cm
194+
}
195+
192196
@media print {
193197
P {
194198
margin-top: 0;
@@ -207,6 +211,7 @@ DIV.navbar {
207211
}
208212

209213
H1 { page-break-before: right }
214+
.head H1 { page-break-before: avoid }
210215
}
211216

212217

0 commit comments

Comments
 (0)