View Single Post
Old 03-03-2017, 10:04 AM   #9
fbrzvnrnd
Fanatic
fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.fbrzvnrnd ought to be getting tired of karma fortunes by now.
 
Posts: 559
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
Quote:
Originally Posted by JSWolf View Post
does vh work with ADE? The thing is, why use vh when you know % works and is the same thing?
In CSS % is referred to the parent of the html element. So, a img with a 50% height theoretically is 50% of the body, so 50% of the chapter height. Usually ebook reader "stop" themselves to the page's height, or images pixel height, sometimes not.
As you know there is nothing in CSS to handle selectors related to the "virtual page" of an ebook (except the poor subset of paged media). vh could be a good step in right way.

f.
fbrzvnrnd is offline   Reply With Quote