1footer {
2 font-size: 9px;
3 color: #f00;
4 text-align: center;
5}
6
7@page {
8 size: A4;
9 margin: 11mm 17mm 17mm 17mm;
10}
11
12@media print {
13 footer {
14 position: fixed;
15 bottom: 0;
16 }
17
18 .content-block, p {
19 page-break-inside: avoid;
20 }
21
22 html, body {
23 width: 210mm;
24 height: 297mm;
25 }
26}