Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26693

    I have read about the repeating table header feature.

    We have a section (DIV) that is printed on bottom of one page and then repeated on the next page (on top).

    Source HTML doesn’t have that duplicated DIV. Unfortunately I cannot attach source here.

    Has anybody else experienced this problem?

    #28915

    That can happen, for example, when images are styled to avoid to be broken by a page break. PD4ML forces a pagebreak to protect an image, but if there is a text block below the image top edge and the text already printed on the current page – it will also be repeated on the next page.

    A good practice to avoid the problem is to use conditional page breaks or to enclose content portions to table cells and to apply “page-break-inside: avoid” style to the table rows.

    See: http://pd4ml.com/cookbook/conditional_pdf_page_breaks.htm

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.