View Single Post
Old 02-17-2013, 01:27 PM   #4
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,082
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 Skydog View Post

<p class="x2DED-FIRST">&nbsp;</p>

or this:

<p class="x2TTLPG-AU"><br /></p>

Thank you for the very helpful info regarding margin-top/bottom in em (which I always use) vs. left/right in pt. I was not aware of the relationship with the zoom level.

Thank you again for your help -- it is greatly appreciated.
This is a (mostly) empty paragraph (or forced Break) that some use because:
1)They don't know how to us top/bottom margin values
2)Their device ignores margins used in #1

The problem: is these margins are indistinguishable from Scene breaks, Header spacing and a host of other uses.

IMHO trying to sledge hammer fix with Calibre is asking for a mess.
This is a case where a EPUB editor like Sigil is handy.
first)
Replace the desired cases with a new selector to distinguish these.
Code:
class="x2TTLPG-AU" -> class="scenebreak"
all you need to do in the stylesheet if no other properties need changing

Code:
.x2TTLPG-AU, scenebreak
is add a comma and the additional selector to make a group
next)
adjust the top/bottom margins for those other styles that spacing is desired

Now you should be ready to remove those other 'empty lines')
theducks is offline   Reply With Quote