View Single Post
Old 03-27-2024, 11:05 AM   #16
Ebookus
Digital Grenadier
Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.
 
Ebookus's Avatar
 
Posts: 184
Karma: 1500224
Join Date: Jan 2024
Device: Kindle
Anyone knows if there is a css property to limit the size of images to max height or width i could add as a style tweak. I have an ebook with pointless (to me) images and would like to have them perhaps be 50 px max.

Edit: i would like to scale down only. So if anything is already smaller it should not be scaled up.

Edit 2: never mind i figured it out

Code:
 img {max-width: 50px;
max-height: 50px; }

Last edited by Ebookus; 03-27-2024 at 12:00 PM.
Ebookus is offline   Reply With Quote