Thread: Image size.
View Single Post
Old 03-26-2015, 04:34 AM   #3
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,556
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by UncleIvor View Post
To do this, as part of the <img src= ... etc> would I say: "height="100%"? Would this work irrespective of the size of the image?
Unfortunately, there's no guarantee. There's no portable and robust way to access the screen height with ePub 2. You can try "height: 100%" (in the CSS, not in the HTML), but it will not work in every reader. Whatever you do, it will not work in every reader, and not necessarily because of reader bugs.
Jellby is offline   Reply With Quote