Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why isn't my mobile website auto-resizing for mobile devices?

I've upgraded from jQuery Mobile a3 to b1, (Mainly because a3 didn't work with WP7 devices) and now it's not scaling correctly on any of my devices (iPhone 4, Droid X, HTC Surround - WP7). Any idea's as to what's causing this? I'm not using any custom css or anything else special... (I was previously, but I've since removed it all in attempt to find out what was causing the issue)

It does re-size with chrome when I re-size the window. I've tried clearing the cache/cookies/history/everything on the phones.

http://us.parkmobile.com/mobile/

like image 649
Hosemeyer Avatar asked Nov 24 '25 23:11

Hosemeyer


1 Answers

Your not setting the viewpoint meta tag

<meta charset="utf-8"> 
<meta name="viewport" content="width=device-width, initial-scale=1">
  • http://jquerymobile.com/demos/1.0b1/ (right click to view source)
like image 160
Phill Pafford Avatar answered Nov 28 '25 15:11

Phill Pafford



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!