Can anyone help me with this?
I downloaded the ePub of the
Free Complete Works of H.P. Lovecraft for Nook and Kindle, and the formatting it comes with is blank line spaces between paragraphs and no indentation, so I added
Code:
p {
text-indent: 0em;
}
p + p {
text-indent: 1.25em;
}
(Now, keep in mind, I don't really know CSS, so I'm sure this was a ham-fisted way to go about things, but it worked in another ebook.)
Well, there were a lot of initial lines of introductory matter in the beginning of the chapters (the year of publication or epigraphs) that shouldn't be indented, and the lines immediately following block quotes that should be indented, so in the Calibre editor, I added
<div> and
<p></p> liberally, like so (all paragraphs are their own <p>)
Code:
<p>Epigraph that is not indented, with a blank line between it and the next paragraph <div></p>
<div>
<p>First paragraph that is not indented</p>
<p>Second and consecutive paragraphs that are indented</p>
and
Code:
<blockquote>Blockquote text, no indent<blockquote>
<p></p>
<p>First line of paragraph following blockquote that is indented</p>
<p>Consecutive paragraphs that are also indented</p>
And it worked...in the Calibre editor. When I converted it to KFX with jhowell's plugin and side-loaded it onto my Kindle, the result was no indentation anywhere and three spaces between paragraphs.
Is there a simple way to modify the HTML or CSS to make it do what I want as a KFX? (I believe there were no
<div> or
<p></p> before I added them, so a simple find and replace shouldn't be cumbersome, if it's necessary to undo what I added.)