View Single Post
Old 01-06-2013, 07:03 PM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Ripplinger View Post
Using Sigil I've had it happen with just bad code on my first book, probably happened by just dragging the image onto the page. I originally thought having the image at 100% of the screensize was the issue, but that didn't fix it. My Sony displays at 800x600 pixels.

This code forced a blank page after the cover:
<body>
<p class="sgc-1"><img alt="" src="../Images/image001.jpg" />&nbsp;</p>
</body>

Changing to this fixed the problem:
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" height="100%" version="1.1" viewBox="0 0 443 747" width="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="800" width="475" xlink:href="../Images/cover.jpeg"></image>
</svg>
</div>
</body>

Btw, the "&nbsp; wasn't causing the blank page either, I even removed that at first thinking it was the problem, but even without it, it still always forced a blank page after the cover, and that blank page appeared in Calibre's viewer as well as on my ereader.
What was the style sgc-1? That is probably the issue.

Oh and turn off tidy so it prevents making sgc-1 type styles.
JSWolf is offline   Reply With Quote