Hi everyone. I am currently about two seconds away from publishing to Kindle... except I'm not. Because when I look at the Kindle preview, my text has a nice left margin but runs right up against the right boundary of the pretend Kindle. It looks bad. It looks like the text is off-center.
I used Guido Henkel's guide and put together the html file. I pretty much copied and pasted everything he posted, code-wise. So I don't understand why this is happening, or how to fix it. Here's the code at the top of my document:
Please, I beg you, help! I am *dying* to publish this book on Kindle. I am *so* excited. I have spent all day on the conversion to MOBI, and this wall I'm hitting is making a dent in my head.
I used Guido Henkel's guide and put together the html file. I pretty much copied and pasted everything he posted, code-wise. So I don't understand why this is happening, or how to fix it. Here's the code at the top of my document:
HTML:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<style type="text/css">
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, pre, table, th, td, tr { margin: 0; padding: 0.1em; }
p
{
text-indent: 1.5em;
margin-bottom: 0.2em;
}
p.chapter
{
text-indent: 0em;
font-weight: bold;
font-size: 1.5em;
page-break-before: always;
margin-top:5em;
margin-bottom:2em;
}
p.title
{
text-indent: 0em;
text-align: center;
font-weight: bold;
font-size: 2.5em;
margin-top: 1em;
margin-bottom: 2em;
}
p.author
{
text-indent: 0em;
text-align: center;
font-weight: bold;
font-size: 1.5em;
margin-top: 0em;
margin-bottom: 5em;
}
p.centered
{
text-indent: 0em;
text-align: center;
}
span.centered
{
text-indent: 0em;
text-align: center;
}
</style>
</head>
<body>
Please, I beg you, help! I am *dying* to publish this book on Kindle. I am *so* excited. I have spent all day on the conversion to MOBI, and this wall I'm hitting is making a dent in my head.