I am facing an issue where I have a lengthy HTML document that is ready for printing, but I need to add borders to every page. I tried adding
body { border:2px #666 solid; padding:5px; }
in the CSS code, which looked good in the HTML view, but not in the print view. The problem is that the border-bottom is not showing on the first page, and the border-top is not showing on all the other pages.
I have been researching for a solution to this problem, but have not found one yet. It seems like it should be a simple trick to achieve, but I am still struggling to find the right solution.