normal web pages such as
a.html :
<body>
<div></div>
</body>
when the height of the div is higher than the screen display, a scroll bar appears on the right side, and the body will be pushed open to the same height as the div. When you click the page button to make the height of the div smaller, the height of the body will also become smaller.
question when a.html is introduced by b.html through iframe,
in iframe, when the div in a.html is changed from 2000px to 200px, its body is still 2000px, so that div is only as high as 200px, but there are scrollbars on the right. How to solve this problem?