View Single Post
Old 10-02-2010, 05:05 AM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,569
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by EaglePt View Post
For instance, its says <div class="quoted-material">...</div>
is not supported -- but IT WORKS on my Kindle 2.
One thing is what the mobi format supports, another thing is what the converter (mobipocket creator, calibre, whatever) can understand and translate to something supported by the mobi format. I'm 90% percent sure the above case is the latter, while the document I linked is concerned with the former.

For instance, the mobi format does not support top and bottom margins, it only has the concept of top margin, which is actually expressed as "height". A converter would read whatever margin you specify, converts the top margin to "height" and applies the bottom margin to the "height" of the next element. As far as I know, right margin is not supported at all, and left margin can only be translated as <blockquote>, and it cannot be changed. The "width" mobi property is actually equivalent to CSS "text-indent".

Your problem with "ems" could be related to the fact that the mobi format allows only integers to be used with "em" units.
Jellby is offline   Reply With Quote