View Single Post
Old 11-15-2010, 01:14 PM   #5
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,558
Karma: 19620479
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DaleDe View Post
As it should be! you can't know the page size of the device that will be showing the book.
That's why we'd need some way of working with that.

Compare with horizontal positioning. You can't know the page width either, yet you can specify some text to be left-aligned, right-aligned or centered in a page, regardless of it's true size (within sensible limits).

But this can't be done with vertical layout, because there's no concept of page height (and if you set a <div>'s height to 50%, it's actually half the width of the page!). The XHTML+CSS model works better with scrollable media than with paged media. While it could be tricky, there's no fundamental reason why vertical layout could not be added to ePUB.
Jellby is offline   Reply With Quote