View Single Post
Old 03-27-2021, 11:07 AM   #38
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,534
Karma: 108666825
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by what View Post
Have you actually had both styled ebooks where you could override the styling and styled ebooks where you couldn't (on the same reader)?
Yes.
Ebook renderers don't work the same as Web Browsers.
It's a subset of HTML and CSS with a few extras.

Generally Font Size in the CSS isn't a problem unless it's insanely coded. The reader GUI will scale up or down the text and reflow. Which happens on desktop browsers. But WHY are the Mobile Browsers on Android so broken? They simply zoom the whole page as if it's a PDF, no reflow!

Line height entries should not exist in the CSS. Most readers can't over-ride it. In Calibre you set Line Height = 0% and Minimum Line Height = 0% to ensure that on a conversion there is no line height setting at all in the CSS.
No setting = Use browser or Ereader default. Which is NOT the same as 0 (Zero).

The important margin settings are top and bottom of paragraphs. Readers will generally only overide the outermost margin settings allowing indented block quotes, preambles, poetry etc as well as a first line indent (preferable to top & bottom margins on body text paragraphs on small screens).

Ereaders unlike web browsers do have widow and orphan settings. A setting of 1 means don't process, a setting of 0 is meaningless, but many readers take that as 1. IMO it's sad that there is no built in option on Web Browsers to paginate an HTML document to the size of a window. The Browser on the Kindle DXG does and it's nicer to navigate than scrolling.
Quoth is offline   Reply With Quote