
9 Oct
2012
9 Oct
'12
12:59 p.m.
Kindle's .mobi format is a compressed XHTML format (although CSS is not supported).
MOBI8 is close to being EPUB, including CSS. MOBI7, generated with modern versions of kindlegen does "support" CSS, just not as well as we like. Perhaps most troublesome MOBI7 still retains backwards compatibility with earlier prehistoric versions of MOBI (which followed prehistoric browser standards) by not collapsing top and bottom margins, and by rounding them to the closest 1em. MOBI8 doesn't have these problems -- it's basically EPUB with a different compression scheme.