title: Page Margins for printing in CSS
body: <p>I searched a lot before asking here, but didn't find an answer for my question.</p>
  
  <p>I want to insert top and bottom margin for my website page when printed, so I used the normal <code>margin-top</code> and <code>margin-bottom</code> for the printed div but it affected on the first sheet only! so I used this as explained in W3C CSS2.1 Specifiction:</p>
  
  <p></p>
  
  <pre><code>@page {
      margin-top: 5cm;
      margin-bottom: 5cm;
  }
  </code></pre>
  
  <p></p>
  
  <p>but no effect in Firefox Print Preview or Print to PDF. so how can I insert top and bottom margin (for each printed sheet) via CSS? or is there any trick to do this in Firefox?</p>