I have a static footer which prints on every printed page (yay) but the page content itself goes to the bottom of the printed page as well creating a content collision.
I've tried various page margins and footer margins, but ultimately, the page content isn't in a repeating container, so no margining seems to make a substantive difference. If I add a negative bottom margin to the footer and increase the page bottom margin, the footer is just cut off and restarted on the next printed page.
@page {
margin-bottom: 30mm;
}
@media only print {
.report-footer {
position: fixed;
bottom: 0px;
display: block;
margin-bottom: -10px;
width: 100%;
height: 25px;
border: dashed 1px red;
overflow: visible;
}
}
Is there a practical way to solve this display problem?


