【发布时间】:2012-10-03 11:13:36
【问题描述】:
以下 html 代码不显示垂直滚动条。为什么?
<style>
#mapIframe{
min-height:300px;
overflow:auto !important;
direction:rtl !important;
overflow-x:hidden !important;
overflow-y:scroll !important;
height:100%; //optional, but it can't hurt.
}
</style>
<iframe id="mapIframe" src="aurl" width="300" height="800" frameBorder="0">Browser not compatible.</iframe>
【问题讨论】:
-
scrolling="no"这是什么意思...? -
您的代码非常适合我。我的代码----