Quote:
Originally Posted by ebookscovers
Hi there. i have an ebook complete and it looks great in Kindle previewer online and on Kindle previewer 3 for mac. However on the kindle mobile app the first line of each chapter is indented and after each text break. like I said looks fine elsewhere except first line indent issue on the kindle app. there is 92 chapters so any quick fix?
here's a sample below: (Ebook was created in Quarkxpress 2021 and cleaned up in Sigil)
<div class="page" id="section6"><div id="box1"><p id="box1_0" class="para-Normal-Local-18"><span class="char-Normal-Local-24">1</span><span class="char-Normal-Local-18"><br/></span></p>
<p id="box1_2" class="para-Normal-Local-5"><span class="char-Normal-Local-18"><br/></span></p>
<p id="box1_3" class="para-Normal-Local-5"><span class="char-Normal-Local-18">(DON'T WANT INDENT HERE!!)The panic attack started in the shower. Jo was combing conditioner through her
hair when the dread crept up and dealt a buckling punch to her gut. She crashed
out of the bathroom and collapsed on the landing. She lay there, naked,
shaking, fighting a body hellbent on extinguishing itself. Her lungs had the
capacity of squeezed teabags, her limbs were being incinerated from within, her
heart seemed intent on cracking open her sternum.<br/></span></p>
|
@ebookscovers, you should do some code cleaning. The code could be neater. There is too much unnecessary code for the chapter header. HTML/CSS can be this simple. Arr you using styles with Quark? If not, you should start a fresh document with Quark and a sample with styles and see how the code comes out. If you are using styles, then I suggest cleaning up the code by hand. Also, change the style names so you'll better understand what they do when you see the class names.
Code:
body {
widows: 1;
orphans: 1;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
text-align: justify;
}
h2 [
font-weight: bold;
text-align: center;
text-indent: 0;
margin-top: 1em;
margin-bottom: 1em;
}
p {
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em;
}
.noindent {
text-indent: 0;
}
<h2>1</h2>
<p class="noindent">The panic attack started in the shower. Jo was combing conditioner through her hair when the dread crept up and dealt a buckling punch to her gut. She crashed out of the bathroom and collapsed on the landing. She lay there, naked, shaking, fighting a body hellbent on extinguishing itself. Her lungs had the capacity of squeezed teabags, her limbs were being incinerated from within, her heart seemed intent on cracking open her sternum.</p>