Is there a way to prevent text from overlapping the footer when printing a page containing both?
I have tried using CSS and HTML to adjust the positioning of the footer, but it still overlaps with long blocks of text.
Any suggestions on how to fix this issue?
css
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 120px;
bottom: 0;
}
html
<div class="container content">
<div class="row">
<div class="col-2">Name</div>
<div class="col-10">{{ name }}</div>
</div>
<div class="row">
<div class="col-2">Age</div>
<div class="col-10">{{ age }}</div>
</div>
<div class="row">
<div class="col-2">Notes</div>
<div class="col-10">{{ notes }}</div>
</div>
</div>
<div class="container">
<footer class="align-items-center">
<div class="row" style="width: 100%;">
<div class="col-6 text-center"></div>
<div class="col-6 text-center">Name<br>Name2</div>
</div>
<hr style="width: 100%;">
<div class="row" style="width: 100%;">
<div class="col-12 text-center">
Address
</div>
</div>
</footer>
</div>
My attempts at setting the footer as a background image to body and adjusting margins in @page did not work as expected, as they affected the background image too. Any alternate solutions?