but when i run it on bigger devices the page
will not sterech and fit to device's
height
and width...
jQuery Mobile does not "stretch and fit to device's height".
It
does respond to the width.
If
you want your pages to fit the height, you are on your own to
accomplish that.
I
would *not* suggest setting
"height=device-height"
in the viewport meta,
though. That will simply stretch or shrink vertically, and will
usually look awful.
If you want your pages to
fit the height, you are on your own to lay it out to be
responsive. Without knowing what it is you are laying-out, it is
hard to give advice. I had a recent need for a "home
page" with some big buttons that has to fit the height. (NOT
jQuery Mobile, though.) I used some flex-box CSS and explicit
height on
<body>
. (I think you could just
use 100%, though, been meaning to try that).