View Single Post
Old 11-08-2014, 02:02 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,124
Karma: 60406498
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 cybmole View Post
i came across this construct recently:

each chapter uses an empty div after the chapter title, & before the 1st text line
<div class="calibre_9"></div>

where the stylesheet definition is

.calibre_9 {
display: block;
height: 10%
}

on readers, this renders as a white space spacing of 10% of the reader page ( I think)

I guess sigil's book view can't do that because it is not really rendering page views ?

so in book view I see no space at all.

is there any alternative way of coding this that would show up in book view as well as on reader screens ?
I suspect this is the 'Empty' tag issue that a space will fix

<div class="calibre_9">&nbsp;</div>
theducks is offline   Reply With Quote