When I was researching for a solution to this, I came across this code on github (links to the article are in the code). It was designed specifically to cope with single and multi pages.
HTH
A4 CSS page template.markdown
A4 CSS page template
--------------------
basic CSS template for A4 print
Forked from [rafaelcastrocouto](http://codepen.io/rafaelcastrocouto/)'s Pen [A4 CSS page template](http://codepen.io/rafaelcastrocouto/pen/LFAes/).
A [Pen](http://codepen.io/dermotmcguire/pen/ZbQWWz) by [Dermot McGuire](http://codepen.io/dermotmcguire) on [CodePen](http://codepen.io/).
[License](http://codepen.io/dermotmcguire/pen/ZbQWWz/license).
index.html
<page size="A4"></page>
<page size="A4"></page>
<page size="A4"></page>
<page size="A4"></page>
<page size="A4"></page>
scripts
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
There are more than three files. show original
2 Likes