Quote:
Originally Posted by Phssthpok
This is on a Kobo, and the image is only about 200px in height.
|
Then the CSS or enclosing HTML/CSS is wrong. Make sure
height: auto; when
width:; <any>
%; and that no other CSS/HTML is overriding that. I don't have ANY other enclosing html for <img than a <p class="draw-centre"> that sets zero left and right margins, zero left & right padding and text-align: center; The top & bottom margins as desired. I only have non-zero padding-top for any entity at the start of a file (as margin-top will then be ignored on many renderers).
No margin: auto; anywhere.