Why is this div's bottom border repeated in the PDF?

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Zanderxo
Propeller Head
Posts: 32
Joined: Mon Mar 09, 2015 5:28 pm

Why is this div's bottom border repeated in the PDF?

Post by Zanderxo »

We have a div element whose CSS style specifies the following:
{
margin-left:20px;
margin-right:30px;
margin-bottom:10px;
padding-bottom:10px;
border-bottom: 2px solid gray;
}

When we build the PDF, this works fine unless the contents of the div spans more than one page.
In such cases, the div will show a bottom border at the end of the first page, even though the div continues on the next page.
Is there any way to supress this? We only want the bottom border at the actual bottom of the div element, not at mid-div over a page break.
Post Reply