Quote:
Originally Posted by ElMiko
Okay, let me try again, because I'm obviously not describing things clearly.
Imagine an image that is 6 times wider than it is tall. So, height of 1, width of 6.
I set the height at 2em and the width at auto. That should mean that the implied width is 12em.
|
In that case, with a image wider than highter, the solutions you can read in the last epub I uploaded will work for you; images won't have any blank spaces and they will maintain their proportions. But under epub3, don't set the height by the "height" property, instead use "max-height: 2em; width: auto" and all of your conditions will be satisfied.