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 03-21-2012, 08: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-22-2012, 12:21 AM   #2
Keroberos
Zealot
Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.Keroberos can program the VCR without an owner's manual.
 
Keroberos's Avatar
 
Posts: 127
Karma: 194002
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
Old 03-31-2012, 05: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, 07:33 PM   #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,098
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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, 01: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
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 05:53 AM.


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