Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 01-07-2011, 08:09 PM   #1
Dontfeedbaboons
Junior Member
Dontfeedbaboons began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2011
Device: iPad, Kindle.
Unwanted Blank Pages

When viewing my epub file on the iPad, there is a blank page before my cover and after the cover. I'm not sure why. There isn't blank pages when I view it on Adobe digital editions. Any ideas of why they're there and how I can remove them?

Thanks
Dontfeedbaboons is offline   Reply With Quote
Old 01-08-2011, 06:35 PM   #2
LGN
Connoisseur
LGN is on a distinguished road
 
Posts: 88
Karma: 60
Join Date: Oct 2010
Device: ProMedia eReader, Sony PRS-600
what does the code of the cover page look like? Anything strange going on in that department?
LGN is offline   Reply With Quote
Old 07-07-2011, 03:01 AM   #3
virtual_ink
Zealot
virtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheese
 
virtual_ink's Avatar
 
Posts: 107
Karma: 1000
Join Date: Sep 2010
Location: Melbourne, Australia
Device: iPad2, Kindle
There are a few threads asking about this, but I'm yet to find an answer. I'm having the same problem. Here the code:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>cover.html</title>
<link href="template.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="cover.html" xml:lang="en-GB">
<div class="Basic-Text-Frame">
<p class="images"><img class="image" width="100%" src="images/cover.jpg" alt="cover.jpg"/></p>
</div>
</div>
</body>
</html>

My image is 523wx800h, 150px.
virtual_ink is offline   Reply With Quote
Old 07-07-2011, 07:08 AM   #4
theducks
Grand Sorcerer
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: 15,248
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by virtual_ink View Post
There are a few threads asking about this, but I'm yet to find an answer. I'm having the same problem. Here the code:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>cover.html</title>
<link href="template.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="cover.html" xml:lang="en-GB">
<div class="Basic-Text-Frame">
<p class="images"><img class="image" width="100%" src="images/cover.jpg" alt="cover.jpg"/></p>
</div>
</div>
</body>
</html>

My image is 523wx800h, 150px.
You did not show the applicable style sheet entries,
but you have wrapped the image in 2 divs (NB they could be combined into a single)

Width 100% is going to scale the Image wider. if the Aspect is maintained the height is going to push the border and padding out
theducks is online now   Reply With Quote
Old 07-10-2011, 08:20 PM   #5
virtual_ink
Zealot
virtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheese
 
virtual_ink's Avatar
 
Posts: 107
Karma: 1000
Join Date: Sep 2010
Location: Melbourne, Australia
Device: iPad2, Kindle
My mistake, here is the CSS:

p.images {
font-family : Georgia, serif;
font-weight : normal;
font-style : normal;
font-size : 1em;
text-decoration : none;
font-variant : normal;
line-height : 1.2;
text-align : center;
color : #000000;
text-indent : 0px;
margin : 12px 0px 16px 0px;
}

I'll experiment with removing one div, and try different width/height settings. Thanks!
virtual_ink is offline   Reply With Quote
Old 07-10-2011, 09:09 PM   #6
theducks
Grand Sorcerer
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: 15,248
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by virtual_ink View Post
My mistake, here is the CSS:

p.images {
font-family : Georgia, serif;
font-weight : normal;
font-style : normal;
font-size : 1em;
text-decoration : none;
font-variant : normal;
line-height : 1.2;
text-align : center;
color : #000000;
text-indent : 0px;
margin : 12px 0px 16px 0px;
}

I'll experiment with removing one div, and try different width/height settings. Thanks!
Things that might push another page:
margin (-top): 12px
margin (-bottom): 16px
line-height: 1.2 (times) <- ??why have this at all if no text interleaved
theducks is online now   Reply With Quote
Old 07-10-2011, 11:12 PM   #7
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: 38,475
Karma: 19300555
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2), Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
You don't need

Code:
<div class="Basic-Text-Frame">
JSWolf is offline   Reply With Quote
Reply

Tags
blank pages, ipad, sigil

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra blank pages Paddlin Workshop 4 12-17-2010 12:40 PM
Problem with blank pages between chapters AlexBell ePub 4 07-23-2010 08:01 AM
Images on Kindle; blank pages joubert Kindle Formats 3 05-28-2010 04:49 PM
Blank pages with iPad timbgray Calibre 3 05-04-2010 10:43 PM
Blank pages JSWolf Calibre 4 11-29-2008 02:22 PM


All times are GMT -4. The time now is 01:42 PM.


MobileRead.com is a privately owned, operated and funded community.