I have just created a simple box on visualforce page rendering as PDF and it is coming out as below
At the top of the box, I have apex repeat, so this box's position would be dynamic as per the data on apex repeat tag.
I used below CSS to create the box
border: 1px solid black;
<div class="box ">
and also sometimes if a td table data renders close to page split then comes as below
it vertically cuts the few portions of the line
in the code I have simple table tag with some td tags and no custom css added,
can anyone please suggest how to handle page break or is it possible to render everything on one long single page instead of splitting into multiple pages.