62,243
社区成员




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<HTA:APPLICATION
ID=oHTA
SCROLL="no"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用CSS构建iframe效果 - Css Iframe - RexSong.com</title>
<style type="text/css">
* { font:12px Arial;}
html {
height:100%;
max-height:100%;
border:0;
overflow:hidden;
}
* html {
padding:50px 0 0 0;
}
body {
height:100%;
max-height:100%;
margin:0;
overflow:auto;
}
#content {
position:absolute;
top:50px;
bottom:0;
left:0;
right:0;
z-index:3;
width:100%;
overflow:auto;
border:solid #000000 1px;
}
* html #content {
top:50px;
bottom:0;
height:100%;
}
#head {
position:absolute;
margin:0;
top:0;
left:0;
width:100%;
height:50px;
z-index:5;
border:solid #000000 1px;
}
</style>
</head>
<body>
<div id="head">
sdf
</div>
<div id="content" >
<p> </p>
<p> 1</p>
<p> 2</p>
<p> 3</p>
<p>4 </p>
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
很多回车<br />
</div>
</body>
</html>