How can I repeat some footer information on each print page using @page
?
I don't want to use a fixed position div as suggested in a "duplicate" question.
I've just got a completely standard HTML template with the following in the body:
<div id="main">
<h1>This is the title</h1>
<p>And the content</p>
</div>
This is my css:
@media print {
.page-break {
page-break-after: always!important;
}
}
@page {
size: 7in 9.25in;
margin: 27mm 16mm 27mm 16mm;
}
@page :left {
@bottom-left {
content: "This is a test";
}
}
At the moment in the latest version of Chrome it's not showing anything in the print preview. Where am I going wrong?