导航栏

 

/*nav 导航样式*/
.navL{width:11px; float:left; background: url(../images/nav.jpg) no-repeat;}
.navR{width:14px; float:left;background: url(../images/nav.jpg) no-repeat}
.menu {  float:left;background: url(../images/nav.jpg) repeat-x;  }

.menu ul {
padding:0;
margin:0;
list-style-type: none;
}

.menu ul li {
float:left;
position:relative;
}

.menu ul li a, .menu ul li a:visited {
display:block;
text-align:center;
width:130px;
color:#3F4963;
line-height:32px;
font-size:14px;
font-weight:bold;
background:url(../images/nav.jpg) no-repeat right center;
}

.menu ul li ul {
display: none;
}
.menu ul li:hover a {
color:#fff;
background: url(../images/nav.gif)  no-repeat bottom;
}

.menu ul li:hover ul {
display:block;
position:absolute;
top:32px;
left:0;
width:105px;
}
/* style the background and foreground color of the submenu links */
.menu ul li:hover ul li a {
display:block;
background:#0B235C;
color:#fff;
border-bottom:1px solid #314879;
}
/* style the background and forground colors of the links on hover */
.menu ul li:hover ul li a:hover {
background:#324876;
color:#fff;
}

/*nav 导航样式 */
/*
.menu{background: url(../images/nav.jpg) repeat-x; height:32px; font-size:14px;position:relative;z-index:100;}
#nav {line-height:32px; list-style-type: none; }
#nav a {display: block; width: 160px; text-align:center; font-weight:bold; color:#fff; text-decoration:none; }
#nav a:hover {color:#f6f270; }
#nav li { float: left; width: 160px;}
#nav li ul { line-height: 27px; list-style-type: none;text-align:left; left: -999em; width: 180px; position:absolute; }
#nav li ul li{ float: left; width: 160px; background: #005d83; }
#nav li ul a{ wedisplay: block; width: 160px;text-align:center; color:#f6f270; text-decoration:none; font-weight:normal; }
#nav li ul a:hover {color:#491c00;text-decoration:none; background:url(../images/navHbg.png) repeat-x center center #FC0}
#nav li:hover ul {left: auto; }
#nav li.sfhover ul {left: auto; }
#content{clear: left; }*/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值