View Single Post
Old 09-15-2019, 09:41 PM   #15
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,846
Karma: 174304428
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Turtle91 View Post
in CSS:

body {widows:0}

or

p {widows:0}

Set the value to whatever number you want to allow.

The same goes for Orphans:

body {orphans:0}
Minor nit. 0 is not a valid value to widows and orphans since 0 is not a positive integer. Use 1 instead.

On a more practical note, some renderers treat the 0 as a invalid value and revert to their default 2 or 3.
DNSB is offline   Reply With Quote