<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style>
body {font:12px Tahoma;margin:0px;text-align:center;background:#FFF;}
#container {width:100%}
#Header {width:800px;margin:0 auto;height:100px;background:#FFCC99}
#PageBody {width:800px;margin:0 auto;height:400px;background:#CCFF00}
#Footer {width:800px;margin:0 auto;height:50px;background:#00FFFF}
#sidebar { width:160px;height:400px; text-align:left; float:left; clear:left; /* overflow:hidden; /*超出宽度部分隐藏*/background:#CCFFBB }
#mainbody { width:635px; height:400px; text-align:left; float:right; clear:right; overflow:hidden ;background:#AAFFBB }
</style>
</head>
<body>
<!-- ********FOUND********* -->
<div id="container">[布局示例]
<!-- ********FOUND********* -->
<div id="Header">[布局示例]
</div>
<!-- ********FOUND********* -->
<div id="PageBody">
<!-- ********FOUND********* -->
<div id="sidebar">[布局示例]
</div>
<!-- ********FOUND********* -->
<div id="PageBody">[布局示例]
</div>
</div>
<!-- ********FOUND********* -->
<div id="Footer">[布局示例]
</div>
</div>
</body>
</html>
web二级简单应用题(布局示例)
最新推荐文章于 2024-05-25 17:35:32 发布