phonegap and media queries
2012-06-13 18:56:38 GMT
On my first phonegap app I used media queries to separate the iphone and ipad appareance.
I used this for iphone
<link rel="stylesheet" media="all and (max-device-width: 480px)" href="apariencia.css">
and this for ipad
<link rel="stylesheet" media="all and (min-device-width: 481px) and (max-device-width: 1024px)" href="apariencia-ipad.css">
surprisingly the retina displays catch the correct css for the device, but I think they shouldn't, because iphone retina is wider than 480px, and ipad retina wider than 1024px, or I am wrong?
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
For more options, visit this group at
For more info on PhoneGap or to download the code go to www.phonegap.com