论坛
标题:
作业不会做啊
[打印本页]
作者:
hawk666666
时间:
2016-12-20 15:02
标题:
作业不会做啊
<style type="text/css">
body {
background-image: url(file:///E|/study/%E7%B4%A0%E6%9D%90/dwcc/%E7%AC%AC%E5%85%AD%E7%AB%A0/%E4%BD%9C%E4%B8%9A/imges/6-01.jpg);
background-repeat: no-repeat;
background-position: center top;
color: #3D3753;
font-family: "微软雅黑";
font-size: 12px;
margin-top: 0px;
font-weight: bold;
}
#menu {
width: 640px;
height: 55px;
margin: 0px auto;
padding-top: 191px;
}
#menu li {
width: 102px;
height: 55px;
text-align: center;
float: left;
list-style-type: none;
}
</style>
</head>
<body>
<div id="menu">
<ul>
<li style="color: #FAF9FC">网站首页 </li>
<li>关于我们</li>
<li>美味体验</li>
<li>销售网络 </li>
<li>我们的故事 </li>
<li>联系我们</li>
</ul>
</div>
</body>
</html>
作者:
潜意式
时间:
2016-12-21 19:28
UL 也要加上 margin和padding
欢迎光临 论坛 (http://bbs.qinxue.com/)
Powered by Discuz! X3.1