View Single Post
Old 01-22-2019, 09:14 AM   #14
Brett Merkey
Not Quite Dead
Brett Merkey shares his or her toysBrett Merkey shares his or her toysBrett Merkey shares his or her toysBrett Merkey shares his or her toysBrett Merkey shares his or her toysBrett Merkey shares his or her toysBrett Merkey shares his or her toysBrett Merkey shares his or her toysBrett Merkey shares his or her toysBrett Merkey shares his or her toysBrett Merkey shares his or her toys
 
Posts: 67
Karma: 5750
Join Date: Jul 2015
Device: Paperwhite 3
@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;
}

Last edited by Brett Merkey; 01-22-2019 at 09:18 AM.
Brett Merkey is offline   Reply With Quote