View Single Post
Old 05-15-2017, 08:13 PM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NullNix View Post
If you just convert a plain HTML file to mobi, without styling, you get non-indented, spaced-out paragraphs. This was a terrible choice on Amazon's part: there's a reason printed books aren't typeset like that.

You can fix it by fiddling with CSS text-indent and (IIRC, it's been a while) padding.
http://www.goer.org/HTML/intermediate/align_and_indent/

I used the top example code, without the {style} ... {/style} section.

Some of the "stock" tests and scripts write css-free HTML rather than plain text (I.E: Amazon/Lab126 does use it their self).
I wrote one add-in report generator that did the same.
And I am here to tell you the hard-coded defaults in the reader are really strange.
I think it is HTML-⅋ version that they wrote the defaults for.
(That is, very broken html)

Last edited by knc1; 05-16-2017 at 05:41 AM.
knc1 is offline   Reply With Quote