iframe size on iPad

后端 未结 2 1677
一生所求
一生所求 2020-12-31 17:30

I have an HTML file as follows;

相关标签:
2条回答
  • 2020-12-31 18:08

    Just put scrolling="no" in the iframe-tag. Notice that you still need to do something about the scrolling, as @CobaltBlue said.

    0 讨论(0)
  • 2020-12-31 18:27

    Starting in version 4.2.1 of Safari iOS, and still going as of 4.3.3, the entire content of an iFrame is forcibly shown. If your iFrame's content is in the same security sandbox as the outer page, you can surround the iframe with a div tag and use that to do the scrolling.

    This fiddle doesn't work because of security sandbox restrictions, but it should work find for you if both pages have the same domain: iPad iFrame single finger scrolling

    0 讨论(0)
提交回复
热议问题