View Single Post
Old 07-15-2014, 10:01 AM   #122
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,450
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Thanks.

0 is a valid value. 0 means off.
Not quite right. 0 is not a positive integer.

If you want to turn widows and orphans off, set them to 1 -- it's a bit hard to leave less than 1 line at the top/bottom of a page.

CSS Level 3 makes this clear -- "Only positive integers are allowed as values of ‘orphans’ and ‘widows’. Negative values and zero are invalid and must cause the declaration to be ignored." From a discussion in another forum, it appears that for one ereader if the declaration is ignored, the default value (2) will be used.

Regards,
David

Last edited by DNSB; 07-15-2014 at 10:12 AM.
DNSB is offline   Reply With Quote