Quote:
Originally Posted by what
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.