简体   繁体   中英

Viewport meta tag in iframe

I have a html page that has a viewport meta tag. I'm viewing the page on iPad and it displays with the right viewport. If I open another page with no viewport tag in it which contains an iFrame that point to my page the viewport tag has no effect.

Is this the correct behaviour? Is there a way to have the viewport tag working from within an iframe?

Thank you!

由于安全问题,iframe内容无法“泄漏”到父页面上,因此元标记必须位于原始页面代码中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM