移动设备中的 Iframe - 当窗口宽度在任何设备中更改时,如何自动更改 Iframe 的高度


Iframe in mobile devices - how automatically change height of the Iframe when the width of the window is changed in any devices

我的缩短器网站有问题,这是iframe

<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="<?=$adurl?>"></iframe>

iframe 中的网站显示在桌面上没有问题,但在移动设备中,iframe 从底部看起来很短 如何使网站在 iframe 中显示为全尺寸 自动在任何设备中更改完整大小

感谢您的帮助

由于您没有使用标点符号,因此很难阅读您的问题,但我认为您需要看看这个 SO 问题。
你需要用</div>关闭你的<div>,但我认为这只是一个复制/粘贴错误。