The problem that the iframe scroll bar in the browser of IOS safari5.0 is invalid is perfectly solved. iossafari5.0

Source: Internet
Author: User

The problem that the iframe scroll bar in the browser of IOS safari5.0 is invalid is perfectly solved. iossafari5.0

In the outer layer of the iframe package, add the following style:
Style = "-webkit-overflow-scrolling: touch; overflow: auto ;"


The Code is as follows:

<Div style = "width: 100%;-webkit-overflow-scrolling: touch; overflow: auto; "> <iframe name =" main "id =" main "src = ".. /demo.html "width =" 100% "height =" 100% "frameborder =" 0 "vspace =" 0 "scrolling =" yes "> </iframe> </div>


How to control the iframe scroll bar of a browser
When my macbooke safari browser browses some pages, it displays [your browser does not support iframe]. How can it be supported ??

The browser does not support iframe, which means that there is a framework in the content of the website you visit, that is, dividing a webpage into several independent pictures. To solve this problem, you need to change the browser code. This is a very troublesome and complicated problem, which is not understood by general people. Use the 360 security browser instead.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.