There is an iframe inside a Master page. I would like the scrollbar to appear only for the Main page and not the Iframe. The iframe's height should increase along with the content.
I tried this but, the iframe height remains constant with or without content. The scrollbar appears for the iframe when there is large content. If I say scrolling=no, then the overflowing content remains hidden.
HTML:
<div class="content">
<div class="page">
<iFrame id="iframe1" runat="server" class="iframe" scrolling="no"></iframe>
</div>
</div>
CSS :
.content
{
padding:2% 2%;
position:absolute;
top:90px;
left:250px;
border:1px solid aqua;
width:76%;
}
.page
{
min-width:100%;
}
.iframe
{
border-style:none;
min-width:100%;
min-height:100%;
}
Any non Javascript solutions ?
Using chrome..