View Single Post
Old 11-02-2023, 03:37 PM   #20
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,896
Karma: 8939999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
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.
Attached Files
File Type: epub Custom Height.epub (2.2 KB, 135 views)

Last edited by RbnJrg; 11-02-2023 at 03:55 PM.
RbnJrg is offline   Reply With Quote