View Single Post
Old 03-25-2025, 10:21 PM   #4
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,363
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
If you need the eBook to be ePub2 compatible, do not use vh or vw as they are not ePub2 compatible.
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.
Turtle91 is offline   Reply With Quote