<style>
.box{
border-top: 3px solid #ff8500;
border-bottom: 1px solid #EDEEF0;
}
.box a{
display: inline-block;
height: 51px;
line-height: 41px;
text-decoration: none;
color: #000;
font-size: 12ox;
padding:0 20px;
}
</style>
</head>
<body>
<div class="box">
<a href="#">设为首页</a>
<a href="#">手机新浪网</a>
<a href="#">移动客户端</a>
<a href="#">博客</a>
<a href="#">微博</a>
<a href="#">关注我</a>
</div>
</body>
<style>
.box{
text-align: center;
}
.box a{
display: inline-block;
width: 120px;
height: 50px;
line-height: 50px;
color: white;
background: url("bg.png");
text-decoration:none;
}
.box a:hover{
background-image: url("bgc.png");
}
</style>
</head>
<body>
<div class="box">
<a href="#">
网站首页
</a>
<a href="#">网站首页</a>
<a href="#">网站首页</a>
<a href="#">网站首页</a>
<a href="#">网站首页</a>
<a href="#">网站首页</a>
</div>
</body>
</html>