3

以下 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>
4

1 回答 1

2

摆脱scrolling="no"或将其更改为yes.

于 2012-10-12T15:35:25.273 回答