Forum How do I...?

Number of lines on each page

riffmaster
Hi,

How do I make sure the number of lines in each page is equal to the other assuming that para margin and padding are 0.

Attached is a screenshot of a pdf where it is clearly not adding 2 lines to the previous page.

Thanks!
  1. forum.png215.9 kB
mikeday
Specify "widows: 1; orphans: 1" in your CSS. The default value for these properties is 2, and this will make Prince try to avoid breaking paragraphs across pages if it leaves one dangling line on the previous or following page.
riffmaster
beautiful ! it works ! thanks !!! :)