View Single Post
Old 06-13-2017, 10:25 PM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,360
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Hi Awcross, welcome to MR!

First off, I wouldn't use fake spaces like that to create spacing between paragraphs and images, I would use margins and CSS stylesheets. Some devices intentionally ignore those empty paragraphs.

For example:
Code:
CSS:
div.image  {margin-top:2em; margin-bottom:2em}

HTML:
<div class="image"><img alt="" src="../Images/test.jpg" /></div>
You can do the same thing for special paragraph spacing - like section breaks or scene changes. I would NOT do this for every paragraph in the book...let the user set their own paragraph spacing with their device settings.

Code:
CSS:
p.SceneBreak {margin-top:2em; text-indent:0}

HTML:
<p>normal paragraph</p>
<p>normal paragraph</p>
<p>normal paragraph</p>
<p class="SceneBreak">First paragraph in new scene</p>
<p>normal paragraph</p>
<p>normal paragraph</p>
Cheers,
Turtle91 is online now   Reply With Quote