View Single Post
Old 02-12-2026, 10:18 PM   #8
icearch
Zealot
icearch can extract oil from cheeseicearch can extract oil from cheeseicearch can extract oil from cheeseicearch can extract oil from cheeseicearch can extract oil from cheeseicearch can extract oil from cheeseicearch can extract oil from cheeseicearch can extract oil from cheese
 
Posts: 121
Karma: 1000
Join Date: Nov 2025
Device: none
Quote:
Originally Posted by Turtle91 View Post

2) use % of your screen size but put a maximum on it to prevent pixelation/fuzziness on a large screen. eg.
Code:
  img {width:50%; max-width:600px}

You may need to use height instead of width instead depending on your image aspect ratio and/or if the screen is in landscape or portrait mode (use media queries). eg.
Code:
<div class="image">
  img {height:50%; max-height:800px}
</div>
But remember you will probably need to supply a container (<div>) so it can determine what height to use as the percentage used is the % of the container...(what is the height of an auto-scroll page?)...
.
I have tried this last night, using a div to contain it, set it to 5em height, and 100% height for img. Works great in sigil, but still fails in reader.
icearch is offline   Reply With Quote