View Single Post
Old 01-20-2013, 07:32 PM   #6
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
Posts: 306
Karma: 1028382
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by JSWolf View Post
When you mention a problem like this, it is best to mention what device and/or app you are using. Because you list an iPad as your device, it can be inferred that you are using iBooks and the answer to your question of why is because it is a bug in iBooks.
The iPad I could believe, but I'd be very surprised if the reader were iBooks. In all of my testing, iBooks reliably pushes any image to the next page if it won't fit in its entirety, automatically scaling down the image if necessary to make it fit.

So again, what reader app, and can you post a snippet of HTML and any relevant CSS that reproduces the problem?

BTW, if you want to skip a few steps, the answer is probably

Code:
.bigimage {
max-width: 100%;
height: auto;
}

..

<img class="bigimage" ... />

Last edited by dgatwood; 01-20-2013 at 07:35 PM.
dgatwood is offline   Reply With Quote