View Single Post
Old 11-02-2023, 02:00 PM   #17
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,857
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
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.
RbnJrg is offline   Reply With Quote