Forum How do I...?

Fill full page / no orphans + widows

frappierer
Hey Mike,

how do i force princexml to always fill the full page with text.
I tried to set orphans and widows to 0, but it had no effect.

Any idea?

Regards

Martin
mikeday
Try setting them to 1, which is the minimum value.
frappierer
Its not working.

I attached 3 files.
1. Css
2. Fulltext 1 (Page is filled with text)
3. Fulltext 2 (Page break, but 1 empty line on the first page)

It would be great if in Fulltext 2 there is no empty line at the bottom of the first page.
  1. fulltext1.html3.0 kB
  2. fulltext2.html3.1 kB
  3. style.css0.1 kB
mikeday
The widows/orphans properties need to be applied to a block, eg. the body element.
frappierer
Great.
Works!