Quote:
Originally Posted by kovidgoyal
Or just use the recommended SVG markup that calibre uses, it works everywhere, including the new reader.
|
I'll have to do a bit of testing with inline images to make sure I'm not missing a painfully obvious gotchya, but I think, at least for images, wrapping all <img> in a div with max-height: 100vh, max-width: 100vw would be a good option. This could be an option added to the Viewer to "Automatically resize images larger than the screen." Most browsers so something to that effect automatically, and I think Kindles do as well.
Unlike the svg code, this will not zoom the images on higher resolution displays.