How to show vertical scrollbar only for iframe?
Posted
by
Adham
on Stack Overflow
See other posts from Stack Overflow
or by Adham
Published on 2012-10-12T15:33:02Z
Indexed on
2012/10/12
15:37 UTC
Read the original article
Hit count: 180
The following html code deosn't show the vertical scrollabr . why ?
<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>
© Stack Overflow or respective owner