<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
*{
margin:0;
padding:0;
}
body{
height: 1500px;
}
.navigation{
border-top:3px solid #FF8500;
border-bottom: 1px solid #EDEEF0;
height:41px;
background-color: #FCFCFC;
}
a{
color:#4C4C4C;
text-decoration: none;
height: 41px;
display: inline-block;
padding: 0 15px;
line-height: 41px;
font-size: 12px;
}
a:hover{
color:#FF8500;
background-color: #EDEEF0;
}
.banxin{
width: 1000px;
height: 41px;
margin: 0 auto;
}
</style>
</head>
<body>
<div class="navigation">
<div class="banxin">
<a href="#">设为首页</a>
<a href="#">手机新浪网</a>
<a href="#">移动客户端</a>
</div>
</div>
</body>
</html>
Summary: This imitation html, the use of a label, hover pseudo-class label. div tag.
It uses two div tags. Wherein the width class = "banxin" div tags are generally set to 1000px.
In this instance, to use fireworks tool, this tool is very powerful.