javascript - An iframe is nested in a web page. The web page and the iframe viewport are different. How can I prevent the web page in the iframe from deforming?
迷茫
迷茫 2017-07-03 11:42:58
0
2
1204

Web page:

`

iframe:

Now the content in the iframe is deformed. If the size of the html and iframe content is not changed, how can the iframe content not be deformed?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all (2)
黄舟

Set the iframe’s padding to 0 and so on

    typecho

    First of all, is the page linked to your iframe responsive? If so, is the size of the iframe consistent with the original page size?

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!