很靓很⼤⽓的简约红⾊CSS菜单代码
代码简介:
⼀款漂亮的CSS阴影菜单,可以有⼆级,不过⽤到了⼏个图⽚,查看演⽰的时候可以⾃⾏下载,红⽩相间,很清新的⽹站导航菜单条。代码内容:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="/1999/xhtml">
<head>
<title>很靓很⼤⽓的简约红⾊CSS菜单代码_⽹页代码站(www.webdm)</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
.menucontainer{background: #fff url(www.webdm/images/20090922/bgOFF.gif) no-repeat bottom left;}
.menu {float:left;font-family: arial,verdana,sans-serif;width:100%;position:relative;font-size:11px;font-
weight:bold;
background:url(www.webdm/images/20090922/bgOFF.gif) repeat-x bottom left;border-top:4px solid
#B30000;}
.menu ul {padding:0;margin:0;list-style-type:none;float:left;position:relative;}
.menu ul li {float:left;position:relative;display:inline;background:url
(www.webdm/images/20090922/bgDIVIDER.gif) no-repeat bottom right;}
.menu ul li a, .menu ul li a:visited {float:left;display:block;text-
decoration:none;color:#000;width:auto;color:#666;padding:0px 16px 0px 16px;line-height:40px;heigh
t:40px;}
* html .menu ul li a, .menu ul li a:visited {width:auto;w\idth:auto;}
.menu ul li ul {display:none;}
.menu ul li ul li{background:none;}
table {margin:-1px;border-collapse:collapse;font-size:11px;}
css简单网页代码.menu ul li:hover a {color:#B30000;background: transparent url(www.webdm/images/20090922/bgON.gif)
bottom left repeat-x;}
.menu ul li:hover ul {display:block;position:absolute;top:36px;margin-top:1px;left:0;width:100%;border-top:1px
solid #fff;}
.menu ul li:hover ul li a {display:block;background:#e3e3e3;color:#333;height:auto;line-height:16px;p
adding:2px
16px 2px 16px;width:120px;border-top:1px solid #fff;}
.menu ul li:hover ul li a:hover {color:#fff;background: #B30000 url(www.webdm/images/20090922/sub-
arrow.gif) no-repeat;background-position: 4px 8px;}
</style>
</head>
<body>
<div class="menucontainer">
<div class="menu">
<ul>
<li><a href="/" target="_blank">Home</a></li>
<li><a href="#" target="_self">About us</a></li>
<li><a class="drop" href="#" target="_self">Services<!--[if IE 7]><!-->
</a>
<!--<![endif]-->
<table><tr><td>
<ul><li><a href="#" target="_self">Design</a></li><li><a href="#" target="_self">Strategy</a></li><li><a
href="#" target="_self">Analysis</a></li></ul></td></tr></table>
<!--[if lte IE 6]>
</a>
<![endif]-->
</li>
<li><a href="/" target="_self">Support</a></li>
<li><a href="/" target="_self">Forums</a></li>
<li><a href="/" target="_self">Contact Us</a></li>
</ul>
</div>
</div>
<!-- END Menu -->
</body>
</html>
<br>
<p><a href="www.webdm">⽹页代码站</a> - 最专业的代码下载⽹站 - 致⼒为中国站长提供有质量的代码!</p>
代码来⾃:

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。