View Single Post
Old 07-28-2024, 10:51 AM   #18
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,355
Karma: 105899727
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by Phssthpok View Post
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.

Last edited by Quoth; 07-28-2024 at 11:00 AM.
Quoth is offline   Reply With Quote