61,112
社区成员
发帖
与我相关
我的任务
分享
<!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=gb2312" />
<link rel="stylesheet" type="text/css" href="style/layout.css"/>
<title>栗子</title>
<style>
/*---------date----2012-2-24--------*/
/*---------base--------*/
*{
margin:0;
padding:0;
}
body{
font-size:12px;
width:960px;
margin:0 auto;
}
ul{
list-style-type:none;
}
a:link{
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
/*--------------header------------*/
#header{
height:169px;
width:960px;
margin:0 auto;
}
#header #header_top{
height:29px;
background:maroon;
}
#header #title{
height:100px;
background:green;
}
#header #navMenu{
height:40px;
background:orange;
}
/*------------container------------*/
#container{
background:1px solid gray;
margin-top:10px;
border:1px solid gray;
height:1000px;
}
#container #flash_info{
background:purple;
height:171px;
width:710px;
}
#container #info_list{
margin-top:10px;
background:pink;
height:400px;
width:710px;
}
#container #board{
background:gray;
height:250px;
width:238px;
}
#container #ad_1{
background:green;
height:320px;
width:238px;
}
#container #shop{
background:green;
clear:both;
}
#container #food{
background:green;
}
#container #info{
background:green;
}
#container #fun{
background:green;
}
/*------------footer------------*/
#footer{
margin-top:10px;
background:gray;
height:100px;
}</style>
</head>
<body>
<div id="header">
<div id="header_top">header_top</div>
<div id="title">title</div>
<div id="navMenu">navMenu</div>
</div>
<div id="container">
<div style="float:left;">
<div id="flash_info">flash_info</div>
<div id="info_list">info_list</div>
</div>
<div style="float:right;">
<div id="board">board</div>
<div id="ad_1">ad_1</div>
</div>
<div id="shop">shop</div>
<div id="food">food</div>
<div id="info">info</div>
<div id="fun">fun</div>
</div>
<div id="footer">footer</div>
</body>
</html>