Media Query not working for iPhone and iPad
问题 @media query is not working in case of iPhone 5 and iPad 4 OS . I have used following CSS for styling each OS and device for different screen. I explicitly checked that my iPad and iPhone width and height and based on that only i have kept the media queries. This works fine on ANDROID OS. /*@media print {*/ /* iPhone 5 (Portrait) */ @media screen and (max-device-height: 568px) and (orientation: portrait) { #map_canvas { border: 1px dashed #C0C0C0; width: 290px; height: 473px; } } /* iPad 4