1
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<style type="text/css">
a{ display:block; float:left;}
.menu1{ width:525px; padding-left:25px;}
.menu1 a:link,.menu1 a:visited{ width:117px; height:32px; margin-right:4px; color:#fff; text-decoration:none; text-align:center; padding-top:10px;}
.menu1 a.a1{ background-image:url(Images/bg20_btn1.jpg); }
.menu1 a.a2{ background-image:url(Images/bg20_btn2.jpg); }
.menu1 a.a3{ background-image:url(Images/bg20_btn3.jpg); }
.menu1 a.a4{ background-image:url(Images/bg20_btn4.jpg); }
.menu1 a:hover,.menu1 a:active{ background-position:left -54px;}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<div class="menu1">
<a href="#" class="a1">首页</a>
<a href="#" class="a2">公司简介</a>
<a href="#" class="a3">产品展示</a>
<a href="#" class="a4">联系我们</a>
</div>
</div>
</form>
</body>
</html>
2
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<style type="text/css">
a{ display:block; float:left;}
.menu2{width:380px; height:41px;}
.menu2 a.a1{ width:97px; background-image:url(Images/bg18_btn1.jpg);}
.menu2 a.a2{ width:93px; background-image:url(Images/bg18_btn2.jpg);}
.menu2 a.a3{ width:97px; background-image:url(Images/bg18_btn3.jpg);}
.menu2 a.a4{ width:93px; background-image:url(Images/bg18_btn4.jpg);}
.menu2 a{ color:#fff; text-align:center; text-decoration:none; height:30px; padding-top:11px;}
.menu2 a:hover{ background-position:left -41px;}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<div>
<div class="menu2">
<a href="#" class="a1">首页</a>
<a href="#" class="a2">公司简介</a>
<a href="#" class="a3">产品展示</a>
<a href="#" class="a4">联系我们</a>
</div>
</div>
</div>
</form>
</body>
</html>
3
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<style type="text/css">
a{ display:block; float:left;}
.menu3{ width:484px; height:52px; }
.menu3 a.a1{ background-image:url(Images/bg17_btn.jpg); width:121px;}
.menu3 a.a2{ background-image:url(Images/bg17_btn.jpg); width:121px;}
.menu3 a.a3{ background-image:url(Images/bg17_btn.jpg); width:121px;}
.menu3 a.a4{ background-image:url(Images/bg17_btn.jpg); width:121px;}
.menu3 a{ text-align:center; text-decoration:none; padding-top:16px; color:#ffffff; height:36px; }
.menu3 a:hover,.menu3 a:active{ background-position:left -52px;}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<div class="menu3">
<a href="#" class="a1">首页</a>
<a href="#" class="a2">公司简介</a>
<a href="#" class="a3">企业新闻</a>
<a href="#" class="a4">产品展示</a>
</div>
</div>
</form>
</body>
</html>
4
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<style type="text/css">
.menu4{ width:970px; height:48px;}
.menu4 .content{ background-image:url(Images/nav_bg.gif); background-repeat:repeat-x; float:left;}
.menu4 .content li{ width:88px; height:48px; padding-left:15px; padding-right:13px; background-image:url(Images/nav_li_right.gif); background-repeat:no-repeat; line-height:48px; text-align:center; float:left; list-style:none; background-position:center right;}
.menu4 .content li a{ display:block; width:88px; height:48px; color:#fff; text-decoration:none; }
.menu4 .content li a:hover{ background-image:url(Images/nav_li_hover.gif); background-repeat:no-repeat; line-height:37px;}
.menu4 .content li em{ background-image:url(Images/bid_new.gif); background-repeat:no-repeat; width:35px; height:21px; top:-20px; position:absolute; left:40px;}
.menu4 .content li.current{ line-height:37px; background-image:url(Images/nav_li_current.gif); background-repeat:no-repeat; background-position:top center;}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<div class="menu4">
<ul class="content">
<li class="current"><a href="http://www.codefans.net" title="首页" target="_blank"><span>首页</span></a></li>
<li><a href="#" ><span>网页特效</span></a></li>
<li><a href="#"><span>源码下载</span></a></li>
<li style="position:relative;"><a href="#" ><span>导航菜单</span></a><em></em></li>
<li><a href="#" ><span>溶图素材</span></a></li>
<li><a href="#" ><span>常用代码</span></a></li>
</ul>
</div>
</div>
</form>
</body>
</html>
5
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<style type="text/css">
.menu4 { list-style:none; height:35px; background-image:url(Images/pro_four0.gif);}
.menu4 li {float:left;}
.menu4 li a {display:block; float:left; height:35px; line-height:35px; color:#aaa; text-decoration:none; text-align:center; padding:0 20px 0 14px; font-size:12px;}
.menu4 li.current a {color:#fff; background-image:url(Images/pro_four2.gif); }
.menu4 li a:hover {color:#fff; background-image:url(Images/pro_four1.gif);}
.menu4 li.current a:hover {color:#fff; background-image:url(Images/pro_four1.gif); }
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<div>
<ul class="menu4">
<li><a href="#">源码爱好者</a></li>
<li><a href="#">更新日志</a></li>
<li class="current"><a href="#">热点排行</a></li>
<li><a href="#">给我留言</a></li>
<li><a href="#">我是谁?</a></li>
<li><a href="#">欢迎合作</a></li>
</ul>
</div>
</div>
</form>
</body>
</html>