Div用iframe 替换Frameset的主页布局
<style type="text/css">
html,body{margin:0;padding:0;overflow: hidden; }html{_padding:108px 0 20px;}
body{background-color:#FFF;font-size:12px;font-family:Verdana, Arial, Helvetica, Geneva, sans-serif;height:100%;overflow: hidden; }
body{margin:0;padding:0;
background-repeat: no-repeat;
margin: 0;
}
.header{position:absolute;top:0;left:0;width:100%;height:108px;overflow: hidden;background-image: url(/Images/spm/page/Images/hy_top_bg.jpg);}
.middle{position:absolute;top:108px;right:0;bottom:20px;left:0;overflow:hidden;width:100%;_height:100%;}
.floor{position:absolute;bottom:0; _bottom:-1px;left:0;width:100%;height:20px;line-height: 20px;overflow: hidden; }
.leftiframe{width: 100%;height:100%;border: none; }
.rightiframe{width:100%;height: 100%;border: none;}
.sidebar {position:absolute;top:0;left:0;bottom:0;overflow:hidden;width:230px;_height:100%;}
.main-content {position:absolute;_position:static;top:0;right:0;bottom:0;left:230px;_height:100%;_margin-left:230px;}
</style>
<div class="header">
头部
</div>
<div class="middle">
<div class="sidebar iframebox">
<iframe style="position: absolute" src="#" name="leftFrame" id="leftFrame" class="leftiframe" width="100%" height="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" allowtransparency="yes">
</iframe>
</div>
<div class="main-content">
<iframe style="position: absolute" src=#" name="mainFrame" id="mainFrame" class="rightiframe" width="100%" height="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" allowtransparency="yes">
</iframe>
</div>
</div>
<div class="floor">
底部
</div>