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?
Set the iframe’s padding to 0 and so on
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?