用javascrpt改变iframe的高度 可下面的 footer div 就不见了
<divclass="rightsite-content"><divclass="clearfixindent"id="maindiv"><iframeid="frmco...
<div class="right site-content">
<div class="clearfix indent" id="maindiv">
<iframe id="frmcontext" frameborder="0" src=“” width="100%" scrolling="no" height="" ></iframe>
</div>
</div>
</div>
<!--footer -->
<div class="clearfix clear"></div>
<div id="footer" style=" float:right;">
<span style="margin-left: 60px;"></span>
<span> footer footer footer footer footer footer footer footer footer
</SPAN>
</DIV>
</div>
<!--footer end-->
.site-content {font-size:1.083em; line-height:1.231em; }
.right{float:right}
.clear { clear:both;}
.clearfix
{
display:inline-block;
}
.site-content .indent { margin-left:259px;width:710px}
#footer {font-size:1.083em; padding:32px 21px 0 25px; height:46px; background-color:#f5f5eb;} 展开
<div class="clearfix indent" id="maindiv">
<iframe id="frmcontext" frameborder="0" src=“” width="100%" scrolling="no" height="" ></iframe>
</div>
</div>
</div>
<!--footer -->
<div class="clearfix clear"></div>
<div id="footer" style=" float:right;">
<span style="margin-left: 60px;"></span>
<span> footer footer footer footer footer footer footer footer footer
</SPAN>
</DIV>
</div>
<!--footer end-->
.site-content {font-size:1.083em; line-height:1.231em; }
.right{float:right}
.clear { clear:both;}
.clearfix
{
display:inline-block;
}
.site-content .indent { margin-left:259px;width:710px}
#footer {font-size:1.083em; padding:32px 21px 0 25px; height:46px; background-color:#f5f5eb;} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询