You are not doing anything wrong, there's just no reliable way to control anything related to page height in current ePUB. Note that, unless you assign an explicit height to the container (div.inline in your case), relative heights refers to the page width, that is, in a well-behaved reader you "max-height: 100%; max-width: 100%" means that the image should fit in a square page-width side. It appears ADE just ignores the the height, which might be allowed if one carefully reads the CSS spec (I don't know).
|