Quote:
Originally Posted by JSWolf
The container is the size of the screen. So % works perfectly well.
|
Yes? I challenge you to post an epub with a div with a height of 40% of the screen size. I don't want your words, I want FACTS (I see that you never had the need to create a block with a certain height otherwise you wouldn't have answered as you answered, and so lightly).
Here you can watch an epub with a div (an empty div) with a
HEIGHT of 40% of screen (no matter the screen size of the ereader) based on vh. Make the same, but with "%" and post the epub here. I'm looking forward to seeing the code you wrote; I want to learn how you can achieve the impossible.
EDIT: There is a hack that allows to use % but with that hack, many ereaders won't display correctly the epub. I want an epub that display a div with a height of 40% of the screen height and that can be displayed without issues by ereaders based on ADE.