一列宽度自适应布局

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

<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>一列宽度自适应布局</title>
  <style type="text/css">
	#layout{
		background-color:#cccccc;
		border:2px solid #333333;
		width:80%;
		height:300px;
	}
  </style>
 </head>
 <body>
<div id="layout">一列宽度自适应布局</div>
 </body>
</html>