View Single Post
Old 06-27-2014, 03:44 PM   #1
medwatt
Zealot
medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.
 
Posts: 147
Karma: 87723
Join Date: Jan 2011
Location: Kuiper Belt
Device: Kindle 3 (dead); Nook ST (dead); Sony PRS-T1; Onyx i86+
Why android epub apps almost always disregard provided CSS

Hello,
I have been creating several ebooks with SIGIL. I leave the html code as clean as possible and control the appearance directly from a stylesheet. So instead of using inline styles for each paragraph I just use one selector for all paragraphs in the stylesheet. In Sigil the book looks exactly the way I want but when viewed in other software:
1. ADE - Headings and div tags are no longer centered, everything is indented (First paragraph should not be indented)
2. MoonReader - Line height is increased, headings are left aligned, no indentation whatsoever, open double quotes (&ldquo are converted to ".
3. Coolreader - Better than the rest in terms of CSS suport but doesn't load embedded font properly even though there's a tick box for that in the option menu.
4. Nook Simple touch - On the device the book looked best
5. Nook Simple touch android apk - not as in the device

I am not using any complicated css codes, just simple selectors and decedent selectors. I am really baffled why these readers seem to throw away my settings. I really hate reading a book that is not properly formatted.
In fact moonreader comes with 3 free wbooks and in all of them the text is left-justifed (no indentation). Really, who is making these software !! Surely, there's a reason why indentations were introduced in the first place.
Might it be possible that I should use inline styles instead?

Your inputs are welcomed and please recommend any android apk that supports even basic CSS (some pretend to).

Thanks

Last edited by medwatt; 06-27-2014 at 03:47 PM.
medwatt is offline   Reply With Quote