View Single Post
Old 12-18-2023, 12:31 PM   #7
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,190
Karma: 105212035
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by theducks View Post
Keywords (CSS):
Widows and Orphans

0 is not a valid value (even tho I see it all the time) 1 is the same as unspecified (and what happens to you. The orphan)
I think 2 might be a default on some renderers.
1 essentially means do nothing.
2 and higher mean never break a paragraph so less than that number of lines are alone, hence 0 is meaningless. I can never remember if fragment at top of page is orphan and fragment at bottom of page is widow or vice versa. Usually they are set the same.

But you can't stop a paragraph being broken over two pages, because a paragraph can be more than a "page" (depends on size user set font and margins and line spacing).

The only thing absolute on everything is that a new file starts at the top of a new page (mobi, azw3, KFX, epub2, epub3 etc).
The various page-break-<directives> are not always honoured, or on some readers ignored.
Quoth is offline   Reply With Quote