Quote:
Originally Posted by ElMiko
That... was incredibly helpful. Lightbulb moment. Thank you.
|
You are welcome
Quote:
What I'm still a bit flummoxed by is why this wouldn't work in epub2! I'm not seeing any properties that, individually, aren't recognized by that format. When you say ADE Legacy, I assume you mean this?
|
Yes, ADE 2.x
Quote:
Or are you saying that any epub2 file will fail to render that image using that combination of css. Also, in the event of failure, what happens? Does the file not open? Or will the image just not render? Or will it render, but not the way we want it to under condition (b)?
|
The issue is that ADE Legacy doesn't honor the property "max-height" but others epub2 ereaders (for example KOReader or Google Play Books) will accept the solution "for epub3". In ADE Legacy the epub will open but since max-height will be ignored, then you'll see an image with a width of 100% and with a height to maintain the proportion.