View Single Post
Old 05-03-2013, 08:31 AM   #4
PageLab
Connoisseur
PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.PageLab ought to be getting tired of karma fortunes by now.
 
PageLab's Avatar
 
Posts: 70
Karma: 515184
Join Date: Sep 2011
Location: Brasília
Device: Kindle3, iPad, Nook, Kobo, Positivo Alfa
Considering the image you posted, we're talking about a fixed-layout ePUB here. In this case, you need to specify the viewport dimensions in the head of the XHTML file, as follows:

Code:
<meta name="viewport" content="width=738, height=983"></meta>
Don't specify the image size on the <img> tag itself, do it in the CSS. You also need to specify page dimensions in the CSS:

Code:
body {
    width: 783px;
    height: 983px;
}

img {
    position: absolute;
    height: 983px;
}
PageLab is offline   Reply With Quote