I am trying to use PDF in custom fashion. When trying to convert epub to PDF, the epub stylesheet specifies @page { margin: 0; padding-top: 1em; padding-bottom: 1em; padding-left: 2em; padding-right: 2em; } For some reason that is not being translated properly, because I am only getting padding at the left/right, but none on the top/bottom. Why is that? Thank you.