wkhtmltopdf css sizes in cm/mm

前端 未结 3 1237
眼角桃花
眼角桃花 2021-02-12 11:54

I use wkhtmltopdf to produce A4 sized PDFs. When I create a

tag and set its style to height: 297mm; width: 210mm (which is the defined size
3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-12 12:19

    Try set

    element style="margin: 0;" in my case this helps...

提交回复
热议问题