KnpLabs / snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage

Home Page:https://knplabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Page size is longer than the actual size.

tes123id opened this issue · comments

I have set up in css, in the html content, width and height according to A4 size in mm (210mm X 297mm) andi put a border css, to identifiy the area within.
the page-size option has been set also to A4
i have set margin to 0.

but the result is the page height seem to be longer, so the content is floating.

so, how to get content apprear in full-size page ?

Hello,
Can you provide an example to reproduce the problem, the expected result and also the result you get?
It would be useful to be able to help you faster.

Hello, Can you provide an example to reproduce the problem, the expected result and also the result you get? It would be useful to be able to help you faster.

Hello, Can you provide an example to reproduce the problem, the expected result and also the result you get? It would be useful to be able to help you faster.

This is my demo example #436

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.