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?

1 comment

Please sign in to leave a comment.