Quote:
Originally Posted by ElMiko
Hmmm. I mean, this was your code originally... Does the VH work in epub2?
|
You want a solution for epub2? you should start by saying that because the code you posted is not supported by ADE 2.x/3.x; your code is for epub3 (max-height and max-width are properties don't honored by ADE).
Quote:
|
Also I really don't want the image to scale infinitely with screen size, hence the em limit.
|
No risk of that, because you are not using "height: 90vh" but "max-height: 90vh". So if your image is tiny, then the image will be rendered by using the height acording to "width: auto" to maintain the proportion.
Quote:
|
But also do you know why the max height isn't being honored in the Readium plug-in?
|
In my system, Readium (Sigil's plugin) displays correctly the image and the text below.