![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
![]()
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 ? |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,880
Karma: 59840450
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
<div class="calibre_9"> </div> |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
![]() There's simply no way to reliably and spec-compliantly refer to the screen height in ePub 2. |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
i tried adding a space. Book view then gives one blank line.
opening the book in ADE on PC, (without the newly added space ) there does appear to be some % space allocation, however. calibre reader - no space ( same as sigil) I guess because both those viewers just scroll the whole chapter, they have no way to interpret height: 10% I asked google for the CSS rule, but it did not find me a good explanaiton of what we are requesting 10% of , in this code. Its only in a single book though, & I only looked at the code to find out why I was seeing so much white space on my reader. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elipsis character displays in code view but not in book view | magmanpi | Sigil | 19 | 03-03-2014 04:45 AM |
replace in book view changes view to code view | cybmole | Sigil | 4 | 10-28-2012 01:20 PM |
Sigil highlight Book View No Longer Shows in Code View | Themus | Sigil | 4 | 10-04-2012 07:54 PM |
Cannot change line height spacing for ereader pro | boothy | Conversion | 2 | 05-21-2011 01:35 PM |
lock book view & code view windows into synch | cybmole | Sigil | 5 | 01-19-2011 10:30 PM |