【问题标题】:hide scroll in iframe, when iframe empty in IE隐藏 iframe 中的滚动,当 IE 中的 iframe 为空时
【发布时间】:2017-01-18 09:54:14
【问题描述】:

我的弹出窗口中有 iframe。如果 iframe 内容为空,则在 IE 滚动显示中,但在其他浏览器中它可以正常工作。仅当内容大于 iframe 高度时,我才需要垂直滚动。

【问题讨论】:

标签: javascript jquery css internet-explorer iframe


【解决方案1】:

我认为你应该改用 CSS

overflow-y: auto; 

【讨论】:

  • 错字:instade => instead
猜你喜欢
  • 1970-01-01
  • 2010-11-18
  • 2020-02-04
  • 2016-03-26
  • 2020-01-22
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多