Quote:
Originally Posted by Perkin
Try changing the size to 95% as 99 may be still making it cross the page threshold.
|
I just tried it, and still have the same problem -- in iBooks everything's fine in landscape, but in portrait I get an extra blank page after the full-page image (and viewing it in Marvin it's the opposite!).
Maybe I'm still doing something wrong? Here, for reference again, this is how I'm doing all my full-page images, each in their own separate file (and my margins/padding are set to 0)...
Code:
<body>
<div class="svg_outer">
<div class="svg_inner">
<svg xmlns="http://www.w3.org/2000/svg" height="95%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 592 900" width="95%" xmlns:xlink="http://www.w3.org/1999/xlink">
<image height="900" width="592" xlink:href="../Images/Frontispiece.jpg"></image>
</svg>
</div>
</div>
</body>
...and this is from my CSS...
Code:
img {
max-width:95%;
max-height:95%;
}
.svg_outer {
display: block;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 0;
text-align: left;
}
.svg_inner {
display: block;
text-align: center;
}
As always, I'm deeply grateful for any suggestions!