Quote:
Originally Posted by Ron.
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>
|
That html produces the following mobi source when run through kindlegen and unpacked using mobiunpack.py:
Code:
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<guide></guide>
</head>
<body>
<p height="0" width="1em">1em indent</p>
<div height="0"></div>
<p height="0" width="1em">1.3em indent</p>
<div height="0"></div>
<p height="0" width="2em">1.5em indent</p>
<div height="0"></div>
<p height="0" width="2em">2.0em indent</p>
<div height="0"></div>
</body>
</html>
Which looks like this:
Either a 1em or 2em indent.