View Single Post
Old 04-29-2013, 01:32 PM   #3
Francisco T
Junior Member
Francisco T began at the beginning.
 
Francisco T's Avatar
 
Posts: 2
Karma: 10
Join Date: Apr 2013
Device: none
Quote:
Originally Posted by Turtle91 View Post
If your entire book is the same format of a single image per page, then the CSS becomes really easy:

div {margin:0 auto; text-align:center}
img {height:800px; width:800px; max-height:99%; max-width:99%}

And your HTML becomes:
<body>
<div><img alt="" src="../Images/xxxx.jpg" /></div>
</body>

...

[edit] On second thought, there is no need to define the width or height, it will automatically display at the full size unless limited by the max tags.
Thank you very much.
In ADE your css works fine. I will try in ibook and google play too. Hopefully the epub will now work on all devices.

[edit] I have been trying to solve this problem for some time and there is so much conflicting information out there it has been impossible for me to pin down the solution. I can't thank you enough.

Last edited by Francisco T; 04-29-2013 at 05:56 PM.
Francisco T is offline   Reply With Quote