While testing a jQuery Mobile Framework based web app on iPhone, I noticed iPhone displayed the web page zoomed out with very small text. I thought I had forgotten to add some styles or messed up something in my custom css but turned out some thing very basic, just add it in the top of your template inside head tag:
This one line fixes buttons, forms elements and text sizes magically.
Hope that helps.
Cheers!
Sure didn’t work for me. Just created a jquery mobile form page at http://instapage.net/cai using latest version of jquery mobile. Manually added the META tag and it displays fine in android, but on the iPhone text is tiny text fields are far too wide, the page is simply too wide and thus too small to be legible.
Add following code in the head:
Make sure you have added
in your page.