Quote:
Originally Posted by odedta
You are right, the code I posted will not work as the idpf specs says that the use of the viewport attribute is essential in creating a fixed layout ePub in the form of:
PHP Code:
<meta name="viewport" content="width=684, height=1024"/>
and not:
PHP Code:
<meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0" />
Thanks.
|
For sure, WebKit (and presumably iBooks) supports viewport height and width attributes. I'd expect other agents to ignore any additional values that they don't understand, but unfortunately, the EPUB specification is really, really lax in defining such behavior, so.... *sigh*
But in any case, those two values are more typically used in full-screen web apps, not books.
For a complete definition of what viewport means to WebKit, see:
https://developer.apple.com/library/...eviewport.html