View Single Post
Old 10-03-2025, 09:12 AM   #29
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,876
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by ElMiko View Post
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.
RbnJrg is offline   Reply With Quote