View Single Post
Old 05-18-2020, 06:25 AM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,863
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jonathanc View Post
Hi all,

Can you help please? I have search the forums and not quite found what I was looking for.

I have converted the book with Calibre to AZW3 and then sent this to the Kindle (Touch and Paperwhite). It is almost perfect, but has widows and orphans.

So I edited the book CSS (the majority of the text is block 7 (start of chapter) and block 8 (all other paragraphs)):

.block_7 {
display: block;
margin: 0;
padding: 0
widows: 2;
orphans: 2;
}
.block_8 {
display: block;
text-indent: 14.2pt;
margin: 0;
padding: 0
widows: 2;
orphans: 2;

Sadly, I still have widows and orphans.

What am I doing wrong?
Check the source eBook before your conversion and see if it has windows and orphans. If it is ePub, you can have a look at the CSS in the editor.

I always make sure there are no windows and orphans in the CSS except for body where I have windows and orphans set to 1. This is done in ePub and when converting to KF8, it works perfectly.
JSWolf is offline   Reply With Quote