View Single Post
Old 07-28-2024, 02:10 PM   #19
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,997
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Quoth View Post
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.
JSWolf is offline   Reply With Quote