Quote:
Originally Posted by Notjohn
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"> </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.