Quote:
Originally Posted by Phssthpok
This is on a Kobo, and the image is only about 200px in height.
|
Depending on the aspect of the image, I would make the height to 100%. For example, the cover.
I set img so it doesn't go off the screen. I don't use auto and I don't need it. It's just unneeded code.
Code:
img {
max-height: 100%;
max-width: 100%;
}
.height {
text-align: center;
text-indent: 0;
height: 100%;
}
.width {
text-align: center;
text-indent: 0;
width: 100%;
}