View Single Post
Old 01-15-2021, 12:00 PM   #1
krommenaas
Junior Member
krommenaas began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2021
Device: All of them (author)
keeping small images small in an epub

I'm converting from Word to epub. Below each chapter title I have a small image (a big icon really). In Coolreader on Android, this image gets blown up to take the full width. I'm pretty sure though that I've seen small images in epubs on this reader before, but can't find an example unfortunately. Any advise on what CSS to use to keep the image small? Just its real size, i.e. no scaling either way, would be fine.

I've been experimenting with width, max-width and object-fit: contain, all to no avail.
krommenaas is offline   Reply With Quote