View Single Post
Old 04-03-2025, 02:31 PM   #13
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
Every time you say something like this it proves you don’t pay attention to anyone’s posts.

Your statement is not true.

You simply need to use fallback coding.

Code:
CSS:
img {
  width:90%;
  width:90vw;
}
If your device app supports vw it will use it. If it doesn’t support it, it ignores it (as required by ePub spec) and “falls back” to the previous coding:90%

This is how CSS works, Jon. Please stop intentionally telling people things you know are incorrect.
Your fallback code does not work with the older RMSDK. The second width: is what's used and because ADE doesn't do vw, the wide: is ignored. Do you have a fallback that works? Given that % works, why use vw?

Last edited by JSWolf; 04-03-2025 at 02:43 PM.
JSWolf is offline   Reply With Quote