Quote:
Originally Posted by pdurrant
Unfortunately, nothing (browsers, ADE, etc) seems to honour the max-height CSS attribute.
|
That's because there's no concept of "page height" in the CSS model used by ePUB, which is based in web pages, that have a width but no definite height (you just scroll up or down to see the contents). From the CSS spec (bold is mine):
<percentage>
Specifies a percentage for determining the used value. The percentage is calculated with respect to the height of the generated box's containing block.
If the height of the containing block is not specified explicitly (i.e., it depends on content height), and this element is not absolutely positioned,
the percentage value is treated as '0' (for 'min-height') or
'none' (for 'max-height').