Quote:
Originally Posted by Turtle91
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.