View Single Post
Old 11-10-2011, 10:38 AM   #20
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,762
Karma: 206758686
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by dwig View Post
You could also use an inline style, instead of the CSS, applied to the paragraph needing a preceding space:

Code:
<p style="margin-top: 1em;"> ...
Exactly.

Or the HTML 3.2 code that you'd find in the mobi itself would be:
Code:
<p height="0pt" width="1em">Blah, blah, blah.</p>
<p height="1em" width="1em">More and more blah.</p>
<p height="0pt" width="1em">Even more and more blah.</p>
The middle paragraph would have a 1em space preceding it.
("width" defining the paragraph indent and "height" defining the paragraph spacing)

Which has the advantage of not needing to be "translated" by any converter program (but the disadvantage of being easy to forget about and making later edits difficult when tracking down hard-coded "styles.")

Last edited by DiapDealer; 11-10-2011 at 10:41 AM.
DiapDealer is offline   Reply With Quote