@momoha
I have not had to deal with this type of frustration for many years but just in case I'm not wasting your time...
By putting height/width values inline, you force a certain behavior on the user agent that, as you point out, may fail. Can you use a class and reference that in the stylesheet instead? In the stylesheet, user agents are supposed to ignore properties they do not understand. So you put the older property/value first, followed by the newer—which gets ignored by some but cascaded by software that can recognize it.
Like:
Quote:
.view {
height: 99%;
width: 99%;
height: 99vh;
width: 99vw;
}
|