danfickle / danfickle/openhtmltopdf
Page size problem
Open
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
Hi again,
Another strange problem. If body height is set longer than 296.4mm (for example, 296.5), openhtmltopdf adds the new empty page to the pdf:
```
@page
{
size: 210mm 297mm;
margin: 0;
}
@media print
{
body, html
{
background-color: #ff
width: 210mm;
height: 296.4mm;
padding: 0;
margin: 0;
border: 0;
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.