wkhtmltopdf css sizes in cm/mm

前端 未结 3 1238
眼角桃花
眼角桃花 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:03

    Perhaps try increasing the height of the

    a fraction of a mm?

    height: 297.5mm or height: 298mm instead?

    Let me know if that works.

提交回复
热议问题