Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-21-2012, 07:19 PM   #1
iroquois
Junior Member
iroquois began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2012
Device: none
Getting rid of a blank page

HELPP!!! I've tried my ePUB in iPad and a blank page is generated after this section:


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>cesar1.html</title>
  <link href="../Styles/template.css" rel="stylesheet" type="text/css" />
  <style type="text/css">
/*<![CDATA[*/

  html, body   {height:100%; margin:0; padding:0;}
                        .wedge 
                                {float:left; height:18%; margin-bottom:0em;}
                        .container 
                                {clear:both; height:4em; position:relative;}
                        table, tr, th {height:4em;width:100%;text-align:center;}
  /*]]>*/
  </style>
</head>

<body>
  <h3 id="heading_id_2" title="Un país para César Ferri"></h3>

  <div class="wedge"></div>

  <div class="container">
    <table>
      <tr>
        <td>
          <div class="story" id="cesar1.html" xml:lang="es-ES">
            <p class="Titulos">Un país para<br />
            César Ferri</p>

            <p class="autor"><br />
            <span class="italica">Jorge Cuadrado</span></p>
          </div>
        </td>
      </tr>
    </table>
  </div>
</body>
</html>
I don't see why there should be a blank page. Anyway I really don't have much understanding of the code, maybe it's something stupid.

Thanks!!
iroquois is offline   Reply With Quote
Old 03-21-2012, 11:21 PM   #2
Keroberos
Zealot
Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.
 
Keroberos's Avatar
 
Posts: 128
Karma: 238654
Join Date: Aug 2009
Device: Kobo Mini (4GB), Nook Classic wi-fi, iPod Touch (Bluefire Reader)
I don't have an iPad, but testing that page in Adobe Digital Editions this line is causing the blank page,
Code:
  html, body   {height:100%; margin:0; padding:0;}
Changing it to this,
Code:
body   {margin:0; padding:0;}
removes the plank page.
Keroberos is offline   Reply With Quote
Advert
Old 03-31-2012, 04:56 PM   #3
iroquois
Junior Member
iroquois began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2012
Device: none
Yep, it does, the thing is that line is there to center the text vertically... if I change it the way you said the text goes back to the top of the page. If there's another way to center the text vertically (without generating undesirable blank pages) please let me know.

Thanks!
iroquois is offline   Reply With Quote
Old 03-31-2012, 06:33 PM   #4
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: 30,107
Karma: 57259780
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 iroquois View Post
Yep, it does, the thing is that line is there to center the text vertically... if I change it the way you said the text goes back to the top of the page. If there's another way to center the text vertically (without generating undesirable blank pages) please let me know.

Thanks!
How much text?
Could you get by with an 'Almost center'?

margin-top: 45% < <<fiddle with the percentage
theducks is offline   Reply With Quote
Old 04-01-2012, 12:33 AM   #5
iroquois
Junior Member
iroquois began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2012
Device: none
Quote:
Originally Posted by theducks View Post
How much text?
Could you get by with an 'Almost center'?

margin-top: 45% < <<fiddle with the percentage
Silly me. That's it. Thanks!
iroquois is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page blank before and after book image page osiris12 Sigil 12 05-28-2015 04:27 PM
Blank page before chapter Gerlyn Sigil 5 02-13-2012 09:46 AM
Blank first page spaze Writer2ePub 3 05-15-2011 11:41 AM
Getting rid of page numbers PodPeople Ectaco jetBook 1 05-17-2010 03:57 AM
get rid of blank line html code Blurr Calibre 4 12-28-2009 09:20 PM


All times are GMT -4. The time now is 01:09 AM.


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