title: Margin not working on the second page
body: <p>I have a site that shows rules of a company. It has multiple chapters, titlet, sub-titles and content whitin. I wanted to make a printable version of it, looks like this:</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
  &lt;title&gt;Test&lt;/title&gt;
  &lt;style type="text/css"&gt;
     @media screen {
      header.onlyprint, footer.onlyprint{
          display: none; /* Hide from screen */
      }`enter code here`
  }
  
  @media print {
      header.onlyprint {
          position: fixed; /* Display only on print page (each) */
          top: 0; /* Because it's header */
      }
      footer.onlyprint {
          position: fixed;
          bottom: 0; /* Because it's footer */
      }
  }
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;header class="onlyprint"&gt;header&lt;/header&gt;
  &lt;!--long text--&gt;
  &lt;footer class="onlyprint"&gt;footer&lt;/footer&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This allows me to show the header on every page. The problem is, - because the content is like one big block - if I set a margin-top, on the first page it works, but on the second page the continuation of the text starts directly from the top, and the header overlaps it. I saw some other posts whith the same problem, but the answer was always that they should cut the content to pieces. For me thats not on option because the company has many rules, and the page only shows the given ones. Sorry for my english, hope you understand what my problem is</p>