0
我的UI中有iframe元素存在問題。當我調整屏幕大小(縮小尺寸)並開始使用水平滾動滾動時,它不會滾動到iframe,但iframe保持在同一固定位置,並且不可能看到它。如何使iframe在主窗口水平滾動時更改其位置
和HTML:
<div id="top-element">Some div that has greater width than the inner div</div>
<div id="iframe-wrapper">
<iframe src="http://www.apple.com/" scrolling="auto"></iframe>
</div>
使用'position:absolute;'而不是固定的。 – kleinfreund