图像拼合 - 创建一个导航列表

2017-06-07 18:51:00
admin
原创
452
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"> 
<title></title>  
<style>
#navlist{position:relative;}
#navlist li{margin:0;padding:0;list-style:none;position:absolute;top:0;}
#navlist li, #navlist a{height:44px;display:block;}

#home{left:0px;width:46px;}
#home{background:url('http://www.ybao.org/data/upload/201706/f_e700fd033c5cfc65bad2a97a9a924be3.gif') 0 0;}

#prev{left:63px;width:43px;}
#prev{background:url('http://www.ybao.org/data/upload/201706/f_e700fd033c5cfc65bad2a97a9a924be3.gif') -47px 0;}

#next{left:129px;width:43px;}
#next{background:url('http://www.ybao.org/data/upload/201706/f_e700fd033c5cfc65bad2a97a9a924be3.gif') -91px 0;}
</style>
</head>

<body>
<ul id="navlist">
  <li id="home"><a href="/"></a></li>
  <li id="prev"><a href="/css/"></a></li>
  <li id="next"><a href="/css/"></a></li>
</ul>
</body>
</html>
  • QQ讨论群
  • 关注微信
    • 欢迎咨询
    • 欢迎加入QQ群 16506021
  • 公众号:源宝网络