页面定位

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script language="javascript" src="js/jquery-1.6.1.min.js"  type="text/javascript" ></script>
<script language="javascript" src="js/position-1.0.js"  type="text/javascript" ></script>

<script language="javascript">
$(document).ready(function(){
	$("html,body").css({"width":"100%",
	                    "height":"100%",
						"margin":"0px",
						"padding":"0px"});
	$("#position").position();
	$("#position>div[position='middle']").position({"parameter":"200,*70%,150,*30%,*100","direction":"h"});
});

</script>
</head>
<body style="background:#0CC;">
<div id="position">
  <div style="background:#036;"></div>
  <div id="test2"  position='middle' style="background:#046;">
     <div style="background:#038;"></div>
     <div style="background:#040;">
       <iframe src="http://www.baidu.com" style=" border:0px none; margin:0px ; width:100%; height:100%;" frameborder="0"></iframe>
     </div>
     <div style="background:#051;"></div>
     <div style="background:#062;"></div>
     <div style="background:#091;"></div>
  </div>
  <div style="background:#056;">
     <div style="background:#856;"></div>
     <div style="background:#858;"></div>
     <div style="background:#854;"></div>
  </div>
</div>

</body>
</html>