wkhtml lacks support of this attributes. I found workaround here:
stackoverflow
paste this code instead and it will work for all headers:
Quote:
h1, h2, h3, h4, h5, h6 {
page-break-inside: avoid;
}
h1::after, h2::after, h3::after, h4::after, h5::after, h6::after {
content: "";
display: block;
height: 100px;
margin-bottom: -100px;
}
|