Quote:
Originally Posted by Quoth
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.
|
Does auto need to be used? I don't use auto and I don't have a problem with images.