View Single Post
Old 08-01-2017, 08:28 PM   #39
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,674
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by slowsmile View Post
Ignores any CSS?...That's one heck of a sweeping statement referring to KF7's. So, from your own rather broad(too broad?) statement above, no external CSS calls like text-indent, margin, padding, font-style, font-weight, text-align etc will have any effect whatsoever on an ebook in a KF7 device? Sorry Hitch, but such a loose generalization is just plain wrong.
No it's not wrong. KF7 doesn't grok css at all. It's essentially HTML3.2 with a handful of attributes. Margins are left-only (achieved with blockquote no less), there is no such thing as right-margin. Text-indent ... nope. Font-style?? Uh-uh. You get <i> <b> and <tt> tags.

Kindlegen may be able to take some css and convert it into html3.2 that the KF7 rendering system can use, but the rest is just dropped. Hitch is right: no css in an old-style mobi7 kindlebook. Unpack one yourself and see. You basically have height/width attributes for paragraphs and blockquotes for a bit of left margin (nest blockquotes to increase the margin). And that's about the extent of the toolbox you get to work with when formatting a KF7 Kindlebook.

Last edited by DiapDealer; 08-01-2017 at 08:31 PM.
DiapDealer is offline   Reply With Quote