<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
.title{
width: 896px;
height: 38px;
font-size: 12px;
border: 2px #8E8E8E solid;
margin: 100px auto;
}
li{
display: block;
float: left;
font: 14px "微软雅黑" #333;
margin: 10px 0;
position: relative;
left: 170px;
}
a{
text-decoration: none;
color: #000000;
}
a:hover{
color: red;
}
span{
margin: 0 20px;
}
ul{
text-align: center;
}
</style>
</head>
<body>
<div class="title">
<ul class="content">
<li><a href="#">首页</a></li>
<li><span>|</span></li>
<li><a href="#">网站建设</a></li>
<li><span>|</span></li>
<li><a href="#">程序开发</a></li>
<li><span>|</span></li>
<li><a href="#">网络营销</a></li>
<li><span>|</span></li>
<li><a href="#">企业VI</a></li>
<li><span>|</span></li>
<li><a href="#">案例展示</a></li>
<li><span>|</span></li>
<li><a href="#">联系我们</a></li>
</ul>
</div>
</body>
</html>
4.导航条01.html.png
*{
margin: 0;
padding: 0;
}
.title{
width: 896px;
height: 38px;
font-size: 12px;
border: 2px #DEDDD9 solid;
margin: 100px auto;
}
.chao{
width: 12px;
height: 12px;
font-size: 12px;
background-color: gold;
color: black;
font-family: "微软雅黑";
padding: 5px 10px;
text-decoration: none;
position: relative;
left: 244px;
top: 10px;
margin: 0 auto;
}
.chao:hover{
color: red;
}
span{
width: 12px;
height: 12px;
font-size: 12px;
color: black;
font-family: "微软雅黑";
padding: 5px 10px;
position: relative;
left: 244px;
top: 10px;
text-decoration: none;
}
.yige{
text-decoration: none;
}
.yige:hover{
color: red;
}
翻页布局.png
网友评论