in
Innovasys Logo

Avoiding page brake just after a header line in a PDF booklet.

Last post 09-16-2008 3:26 AM by Richard Sloggett (Innovasys). 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-09-2008 9:59 PM

    Avoiding page brake just after a header line in a PDF booklet.

    When creating a booklet the resulting PDF documents shows headers just before page break, even though I have added the "page-break-after: avoid" option in my print style sheets.

    h1, h2, h3, h4, h5
    {
      font-family: Trebuchet MS, Verdana, Arial;
      font-weight: bold;
      page-break-after: avoid;
    }

    How can I keep this from happening?

  • 09-16-2008 3:26 AM In reply to

    Re: Avoiding page brake just after a header line in a PDF booklet.

    You can choose to have a page break before each topic in the booklet properties. For specific headings falling in a place you would rather avoid, you could put a specific page break style on the heading element e.g. - style="page-break-before: always"

    Richard Sloggett
    Innovasys
    http://www.innovasys.com
Page 1 of 1 (2 items)