Quote:
Originally Posted by JSWolf
Too many devices and/or programs do not support vw and vh. So it's best to use % which will work in many more cases. It's basically the same thing eccept one works more then the other.
|
Not exactly. When you use "vh" (or "vw") are you referring to the screen size, and with "%" you are referring to the container size. With "vh" you can do things impossible to get with "%". For example, how you could set the height of a <div> block at 40% of the screen? With "%", you couldn't. But, I must agree with you, that some EPUB2 ereaders, don't support the property. Under epub3, vw and vh work flawlessly.