Print to PDF:
Top margin only works for the first page. Bottom margin does not work even if I set it.
As below, there is no margin at the bottom of first page and the top of second page. How to set the margin?
I am also having the same problem. I have tried with CCS style codes for @page, @media print, body, html body and the page break control (but i dont want a page break, i want a margin at the top and bottom of each page when printing to pdf). If i type
margin-top: 500 px;
margin-bottom: 500 px;
I will get a huge margin on at the top of the first page and a huge margin on the last page but no margins on the pages inbetween.