View Single Post
Old 06-17-2011, 06:43 PM   #14
Hatgirl
Addict
Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.Hatgirl ought to be getting tired of karma fortunes by now.
 
Hatgirl's Avatar
 
Posts: 296
Karma: 955301
Join Date: Oct 2008
Device: Sony PRS-300, Sony PRS-T2, Kindle (7th Gen)
Quote:
Originally Posted by Toxaris View Post
With some help I managed to change one of my epubs in a manner that iBooks sees all pages...

It is actually the combination of @page and height:100% which causes this problem.

Can anyone sent Apple the IDPF specifications together with a CSS tutorial?
Toxaris, you are completely right!

I managed to get my hands on an iPad this evening and tried a few css variations. As Toxaris said, removing the following code from my epub allows it to be viewed in iBooks:
Code:
html, body { 
    height: 100%;
    margin: 0;
    padding:0;
    border-width:0;
  }

@page {margin: 5pt;}
Right. So, the reason that code was in there was to remove any padding imposed by viewing software and make a margin on evey screen-page (not just ADE-page). I do want a 5pt margin in case the software doesn't impose a margin, so any ideas on the best way to achieve this?
Hatgirl is offline   Reply With Quote