View Single Post
Old 09-06-2011, 04:31 PM   #25
Blossom
Treasure Seeker
Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.Blossom ought to be getting tired of karma fortunes by now.
 
Blossom's Avatar
 
Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
Quote:
Originally Posted by Ron. View Post
try this

Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>indent test</title>
    <meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/>
  </head>
  <body>

<p style="text-indent:1em;margin-top: 0px;margin-bottom: 0px">1em indent</p>
<p style="text-indent:1.3em;margin-top: 0px;margin-bottom: 0px">1.3em indent</p>
<p style="text-indent:1.5em;margin-top: 0px;margin-bottom: 0px">1.5em indent</p>
<p style="text-indent:2em;margin-top: 0px;margin-bottom: 0px">2.0em indent</p>
</body>
</html>
Okay here's my experiament.

I used your code to make a html file them converted it to mobi and 1.em and 1.3em are the same. I then converted from html to epub and got the same results. The only difference in the mobi and epub was 1.5em every other size matched on both epub and mobi with 1em and 1.3em showing no difference from each other.

Very Interesting!

I then put the mobi in Kindle Preview and 1em & 1.3em are the same.
So are 1.5em and 2em they match each other.

Last edited by Blossom; 09-06-2011 at 04:35 PM.
Blossom is offline   Reply With Quote