html - Unable to prevent zoom on iPhone with initial-scale=1 -



html - Unable to prevent zoom on iPhone with initial-scale=1 -

i'm converting fixed-width design responsive.

i modified layout utilize %s , added media queries. i added viewport meta tag: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> everything works great when shrink browser window. everything still works great when utilize google chrome's emulator

but when test using actual iphone, there width causes horizontal scroll.

what doing wrong?

here 2 live demos:

http://secretdesignproject.com/demo/ts/1/index.php/screen/index/941065

http://secretdesignproject.com/demo/ts/1/index.php/screen/index/691674

usually must complement responsive design media query's , there can restrict browser behaviors css, phone rendering

@media (max-width: 640px){ /*your css code here*/ }

try it...

here reference mediaquey's

good luck,

html ios css iphone responsive-design

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -