Quote:
Originally Posted by JSWolf
Well, I'm not so sure of that. The way to the CSS does it is to use...
body {
widows: 0;
orphans: 0
}
So given that 0 is off and any other number is on. Maybe we are both right? I dunno exactly.
|
Not always 0 is "off". In this case, 0 means that the minimum number of lines allowed before/after a pagebreak is 0, i.e., that any number is allowed, included 1, which is when a widow/orphan appears.
The default is 2, which means that a minimum of 2 lines is needed before/after a pagebreak, preventing the occurrence of widows/orphans, because a single line is less than the minimum of 2 lines.
But this CSS property can do nothing against chapters ending with one-line paragraphs, for instance. In this case, a pagebreak before this last paragraph is allowed, but it would have been avoided by all means by a human typesetter.