I've created a simple and small webpage that looks like this:
https://i.sstatic.net/R7Ajz.png
Everything is perfect in the browser, with all the styles (margin, padding, etc.) just as I want it.
However, my issue lies in the print view of the page.
As shown in the image above, there is a "seperator" image. The first content can vary in size, sometimes smaller, sometimes larger with text, etc.
When the first content is too large, I want the separator image to appear at the top of the second page.
Is there a way to achieve this? (I believe JavaScript is necessary for this, without using jQuery).
Here's an image depicting what I'm aiming for in the print view:
https://i.sstatic.net/S2Efa.png
I hope this explanation makes sense, and thank you in advance!