Quote:
Originally Posted by JSWolf
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.