Quote:
Originally Posted by Toxaris
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?