iphone - media queries not applying inside the iframe of a mobile application -


i have strange issue when loading site within iframe of mobile application. having website 7 pages. when browse website url in iphone's safari. content in pages rendering perfect. if load website in iframe inside mobile application android renders website correctly inside iframe of mobile application. in iphone 3 of pages content overflowed , can't see full page. media queries listed below. way using bootstrap framework website.

    @media (min-width: 768px) , (max-width: 979px) {       // css goes here     }     @media (min-width: 768px)     {      // css goes here             }     @media (max-width: 767px) {      // css  goes here                   }     @media (min-width: 1200px) {         // css goes here                   }     @media (min-width: 768px) , (max-width: 979px) {        // css goes here                   }     @media (max-width: 767px) {        // css goes here      }     @media (max-width: 480px) {        // css goes here     }     @media (max-width: 320px)     {       // css goes here     }     @media (max-width: 240px)     {      // css goes here     }    @media (max-width: 979px) {     // css goes here     }     @media (min-width: 980px) {     // css goes here     } 

is there other media queries targeting iframe inside mobile application of iphone. new responsive mediaqueries. please help. meeting client's deadline in 2 days have solve issue.

thanks in advance.

sometimes browsers don't render mediaqueries features. try adding head section. may luck.

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=no; target-densitydpi=device-dpi" /> 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -