View Single Post
Old 07-13-2025, 03:21 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Turtle91 View Post
Yes, he could just use 2 css sheets.

I think JSWolfe's understanding of CSS is tainted by his experience with ADE. He thinks that the use of anything not understood/supported will cause the entire css sheet to be ignored, instead of just that portion that is not understood/supported. That is a valid concern under ADE but it is not a CSS issue. The portion below in red is an ADE issue not a css issue.
It's not because of ADE. It's because many programs that do not support ePub3 will not support vh and vw. And CSS works top down. So if you have two height lines like a posted, only the second one will be used. The first one will not be used. vh and vw are not considered an error in ADE. But the 100% will not work because the second height line will be used instead.

Also, using 2 style sheets will not always work. Not every ePub3 compatible program supports Javascript. So you have to treat your ePub like the program being used don't do Javascript.

Last edited by JSWolf; 07-13-2025 at 03:23 PM.
JSWolf is offline   Reply With Quote