iphone - Viewport inside iFrame ignored -


i have page phone-devices width of 640px. because going use in fb-app have wrapped in iframe width of 810px.

the problem no matter how change viewport-settings never gets applied when browsing in iframe. accessing page phone-devices directly displays perfectly, somehow can't content stretch 810px of iframe.

i can't make working jsfiddle this, have case here: http://optimuscrime.net/display.html

the display.html-file has a

<iframe src="viewframe.html" style="width: 810px; height: 1200px;"></iframe> 

viewframe.html has it's content based on width of 640px , viewport-setting this:

<meta name="viewport" content="width=640, initial-scale=1"> 

before "show you've tried"-cries: i've tried every single combination of width, initial scale etc. problem content inside iframe never gets affected viewport-settings.


Comments