Margin problems when saving HTML view as a PDF

Margin problems when saving HTML view as a PDF

I have an HTML view that I have enabled the "PDF Header" option. As I expected, the PDF goes over a number of pages, but the problem I have is no margins (top, bottom, right, left) at all on the page.

Any ideas how to set the margins?