Quote:
Originally Posted by DNSB
The default value for the widows and orphans is 2 so if a paragraph would leave 1 or 2 lines at the bottom of a page (orphans) or 1 or two lines at the top of the next page (widows), the entire paragraph will be moved to the next page. I've set this to 1/1 in my default stylesheet used when I edit epubs which reduces the number of times this happens. I've never tried using 0 for both which should in theory disable widow and orphan checking. The sample settings I use for chapters ( <body class="chapter"> ) is included below. Disregard the .webkit lines at they used when reading epubs on an Apple idevice. Also this only works for epub files, Kobo's kepub is a rather different kettle of fish.
.chapter {
display: block;
font-size: 1em;
margin-bottom: 5pt;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 5pt;
padding-left: 0;
padding-right: 0;
text-align: left;
word-wrap: normal;
widows: 1;
orphans: 1;
-webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;
-webkit-hyphens: none;
}
|
Hah, thank you DNSB. I didn't know orphans and widows were something I could set myself

Strange though that KT firmware 2.0.x suddenly treats them differently than before.