title: Add border to each page when printing without any border breaks
body: <p>I have a project, which I will need to print a multi page exam.
  <br>I want to have border on each page, but at the bottom and at the top, when page breaks, the border will break too!</p>
  
  <p><a href="https://i.stack.imgur.com/bicHM.png" rel="nofollow noreferrer">SCREENSHOT OF AN EXAMPLE</a></p>
  
  <p>I am using <code>@media print</code> to style the print page<br>
  Code Structure of the page is:</p>
  
  <pre><code>header
  main-content{
  --- div for each question
  }
  </code></pre>
  
  <p>each question has a border bottom, and the main-content has a full border<br>
  So any Idea on who can I achieve this goal?</p>
  
  <p><strong>Note: I am aware of the break-after or break-before properties, and they're no use in this case</strong></p>