View Single Post
Old 05-09-2013, 10:24 AM   #19
ebookn00b
Member
ebookn00b began at the beginning.
 
ebookn00b's Avatar
 
Posts: 19
Karma: 10
Join Date: Apr 2012
Device: Kindle Fire, iPad 2
blank page issue again

I have compiled a ePub in Sigil. I have added the Cover Semantic to the cover.html file as well as the actually image used for the cover. The cover of the ePub shows up in the thumbnail view on the iBooks shelf, however when I open the ePub in iBooks normally the first page that is shown is the cover however with this ePub it displays a blank page followed by the TOC and next the Title page. I see nothing that stands out in the code that would cause this.
The code for the cover is as follows. As you can see I bumped the width and height down to 75% thinking that the 100% setting was causing the issue.

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</title>
</head>

<body>
  <div style="text-align: center; padding: 0pt; margin: 0pt;">
    <svg xmlns="http://www.w3.org/2000/svg" height="75%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 612 792" width="75%" xmlns:xlink="http://www.w3.org/1999/xlink">
      <image width="612" height="792" xlink:href="../Images/Pages from Journal_10-12_NGS_Final.jpg"></image>
    </svg>
  </div>
</body>
</html>
ebookn00b is offline   Reply With Quote