Quote:
Originally Posted by ElMiko
As I understand it, "em" isn't a absolute unit, it's a relative unit. So, I mean, I guess it's as natural as any other em value.
|
With "natural" height, I mean the height of the image if you don't specify any height. If it's smaller than 4em, setting max-height:4em will not do anything.
Quote:
Regarding max-width, the issue is that setting it at 100% means that the image will appear to stretch vertically if the screen width is too narrow relative to the defined height.
|
Not in Firefox, or in the calibre viewer, or in KOReader, at least with the attached test, as far as I can see.