View Single Post
Old 09-21-2009, 06:49 AM   #8
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,043
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
So I suppose the question is:

Can we, in ePub XHTML/CSS, get a block that's the currently available width and height of the page.

We seem to be able to get width easily enough, but height eludes me.


Quote:
Originally Posted by Jellby View Post
I asked something about this issue in the Prince XML forum, and got a reply saying that actually percentage heights are calculated in relation to the container's height (spec), and this only works if the container has a fixed height. Since the container will usually be <body> or a <div> without explicit height, I'm afraid something won't work here.
pdurrant is offline   Reply With Quote