03-21-2012, 08:19 PM | #1 |
Junior Member
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> Thanks!! |
03-22-2012, 12:21 AM | #2 |
Zealot
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;} Code:
body {margin:0; padding:0;} |
Advert | |
|
03-31-2012, 05:56 PM | #3 |
Junior Member
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! |
03-31-2012, 07:33 PM | #4 | |
Well trained by Cats
Posts: 30,447
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Could you get by with an 'Almost center'? margin-top: 45% < <<fiddle with the percentage |
|
04-01-2012, 01:33 AM | #5 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2012
Device: none
|
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page blank before and after book image page | osiris12 | Sigil | 12 | 05-28-2015 05:27 PM |
Blank page before chapter | Gerlyn | Sigil | 5 | 02-13-2012 10:46 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 |