View Single Post
Old 10-23-2014, 09:46 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by rosshalde View Post
Ok, so I was having trouble with blank spaces and then I found some code to try and it worked.
I inserted
<div class="body" style="white-space:normal">
rather than
<div class="body" style="white-spacere-wrap">
and it did get rid of all the "white space"
Now I need to add back a few to set off prose text from a brief little song and then back to prose.
Essentially, I want a blank line above and below the song that is in the midst of prose to help offset it and make it look nice.

Sigil suggests

Don’t. Its much better to use stylesheets to define the amount of space above or below your special sections using a style definition. For instance to leave 1.5 lines of space above a paragraph you can use this style class:

p.blankabove { margin-top: 1.5em; }
and in your text use the class with your paragraph:

<p class="blankabove">My paragraph</p>
which I did and it works, but now the text of that paragraph is much larger than the text of all other paragraphs.....why is that?

I can always add a space in the book view, but it adds
<br />
and I can see from my reading this forum that might not be a good idea.

any pointers?
Thanks in advance.
Look at the code.
Sigil has some bad habits. If you try and join 2 paragraphs from Book View (It adds a Style= that results in bigger text ). IMHO do the join in code view by removing from the </p to the > before the first character to be seen (add a space when needed)
theducks is offline   Reply With Quote