Thread: Paragraph Break
View Single Post
Old 05-02-2013, 09:45 AM   #3
Paxman53
Connoisseur
Paxman53 began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
Quote:
Originally Posted by pdurrant View Post
Specify a top margin in the style of the paragraph after where you want a blank line.


<p class="calibre">But it was clear that the lady did not believe him.</p>
<p class="gapabove">It was about ten o’clock that night.</p>


and in your CSS file

p.gapabove {
top-margin: 1.5em;
}
Thanks for your help.

Tried it in Sigil it created a space above, but also below, plus there was no indent.
Subsequent conversion by Calibre with remove spacing between paras in Look & Feel unchecked, changed the style sheet to:

.gapabove {
display: block;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 1em;
top-margin: 1.5em
}

Changed margin-bottom to 0em which removed bottom space, but indent still unchanged.

What I really want is an instruction I can insert between lines to create a space, that Calibre will not affect in subsequent conversions.
Paxman53 is offline   Reply With Quote