View Single Post
Old 04-19-2012, 03:46 PM   #1
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,083
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
iBooks and full page images problem

Someone has pointed out that my free copy of Kim in the library here doesn't work in iBooks.

The problem seems to be they way I've done the full page images.

In the HTML, my images are like this:

<p id="toi_0" class="fullpage"><img src="zamzammah.jpg" alt="Zam-Zammah" height="100%" /></p>


The relevant bits of the CSS are:

html, body {
height: 100%;
margin: 0;
padding: 0;
border-width: 0;
}

@page {
margin: 5pt;
}


p.fullpage {text-indent: 0; text-align: center; margin: 0; page-break-before: always; page-break-after: always}


Other ePub renderers seem to be OK with this. Does anyone come across this problem (or a similar one) before, or have a suggestion as to how to display full-height images in an ePub that iBooks does like?

Thanks.
pdurrant is offline   Reply With Quote