样图
问题
小白求解怎么让底部对齐
代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
*{
margin: 0;
padding: 0;
}
.top{
background: #D26900;
width: 900px;
height: 80px;
margin: 0 auto;
}
nav{
width: 900px;
height: 30px;
margin: auto;
}
nav li {
float: left;
background: #FFD0FF;
text-align: center;
}
nav li a {
text-decoration: none;
font-size: 20px;
text-align: center;
}
.zhong{
width: 900px;
margin: 0 auto;
}
.zuo{
background:green;
width: 664px;
height: 500px;
float: left;
}
.you{
background: yellow;
width: 228px;
height: 500px;
float:right;
}
.B{
margin: 10px;
list-style: none;
width: 105px;
}
.xia{
background: black;
width: 900px;
height: 60px;
float: left;
margin-left: 86px;
margin:-top:8px;
}
</style>
</head>
<body>
<div>
<div></div>
<nav>
<ul>
<li><a href="#">首页</a></li>
<li><a href="#">企业简介</a></li>
<li><a href="#">产品展厅</a></li>
<li><a href="#">网上下单</a></li>
<li><a href="#">售后服务</a></li>
<li><a href="#">行业资讯</a></li>
<li><a href="#">联系我们</a></li>
</ul>
</nav>
<div>
<div></div>
<div></div>
</div>
<div>下/div>
</div>
</body>
</html>
黄小凡
堂堂堂堂糖糖糖童鞋