I'm using WKHTMTOPDF Tool to convert the web pages in to the PDF and it works great except some page break issues.
Like i have put the style
page-break-before: always;
for Table and it works great. while for avoiding the page breaks I have used :
page-break-inside: avoid
It works for some divs only.
Please check this snap for the issue.
Update:
Here is the HTML code for the ROUND Shape which is not avoiding the page break.
<div style="float: left; position: absolute;
top: -14px; right: -20px;
border-radius: 50%;
border: 2px solid #fff;
background: #6a98f5;
font-size: 9px;
font-weight: bold; color: #fff;
width: 34px; height: 34px;
z-index: 99999; line-height: 30px;
text-align: center;
-webkit-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box;">
78%