View Single Post
Old 05-23-2020, 12:03 AM   #65
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by hobnail View Post
On Nathan's the-ebook-reader web site he says that prior to this update we could solve the wasted space problem by editing the CSS; "Previously the only fix required editing the CSS file of each ebook using Calibre to specify or override a book’s widows and orphans setting."
I hadn't read Nate's post about this. He has the details right. I am a little amused by his statement, "I don’t know why the option is hidden and undocumented by Kobo", as I do know why. And any long-term developer can probably guess why.
Quote:
Since I'm always tweaking the CSS of books before I sideload them I would rather go that route instead of mucking around with the eReader.conf file.

What is the proper CSS for that?
My standard stylesheet has the following in it:

Code:
body {
  widows: 1;
  orphans: 1;
}
But, it could be on the style used for paragraphs. Or set to something else on paragraphs that would be better kept together.
davidfor is offline   Reply With Quote