View Single Post
Old 02-25-2015, 11:53 PM   #4
AlanHK
Fanatic
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 599
Karma: 308286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Notjohn View Post
I see that my CSS styles don't seem to work on Kobo books.
creates a line that immediately follows the line above, without the 0.5 em space.

Is there another way to gain some breathing space, or should I just live with it?
Works ok in Sigil and Calibre's viewers, as you probably already know.

What is your "p" definition?

Any effect if you bump up the margin to 5 em?

Sigil's preview window includes a code view that shows you the final calculated CSS for each paragraph.
Calibre's reader also has an "Inspector" that does the same.
Can be helpful to find a missing quote mark or bracket in your code.


But if it's a "feature" of Kobo then you just have to work around it.
eg S&R all
<p class="first">
to
<p class="first"><br/>

or insert a whole para.
<p class="spacer">&nbsp;</p><p class="first">

define "spacer" line-height or font-size and see if that gives you any control over the spacing.

The nbsp is because some readers completely ignore empty paras.

Last edited by AlanHK; 02-25-2015 at 11:57 PM.
AlanHK is offline   Reply With Quote