帝国CMS代码,以下是帝国CMS默认模板的CSS文件中的导航代码 ,怎么让鼠标移到栏目上就在菜单下面显示子目
/**导航**/.nav{background:url(../images/nav_bg.jpg)repeat-xlefttop;}.nav.nav_global{}.n...
/** 导航 **/
.nav {
background: url(../images/nav_bg.jpg) repeat-x left top;
}
.nav .nav_global {
}
.nav .nav_global ul {
padding: 0 10px;
}
.nav .nav_global li {
cursor:pointer;
float:left;
text-align:center;
text-decoration:none;
font-size: 14px;
line-height: 33px;
font-weight: bold;
color: #FFF;
background: url(../images/nav_line.jpg) no-repeat right top;
padding-right: 2px;
}
.nav .nav_global li a {
display: block;
color: #fff;
text-align: center;
padding: 0 14px;
}
.nav .nav_global li a:hover {
color: #000!important;
text-decoration: none;
}
.nav .nav_global li.curr a {
color: #000;
background: url(../images/nav_li_hover.jpg) repeat-x center top;
}
.nav_sub {
padding: 6px;
}
.nav_sub a {
padding: 0 2px;
}
我是新手
就劳烦高手们写详细点了
谢谢******
谁给我一份头部的代码??
代码 展开
.nav {
background: url(../images/nav_bg.jpg) repeat-x left top;
}
.nav .nav_global {
}
.nav .nav_global ul {
padding: 0 10px;
}
.nav .nav_global li {
cursor:pointer;
float:left;
text-align:center;
text-decoration:none;
font-size: 14px;
line-height: 33px;
font-weight: bold;
color: #FFF;
background: url(../images/nav_line.jpg) no-repeat right top;
padding-right: 2px;
}
.nav .nav_global li a {
display: block;
color: #fff;
text-align: center;
padding: 0 14px;
}
.nav .nav_global li a:hover {
color: #000!important;
text-decoration: none;
}
.nav .nav_global li.curr a {
color: #000;
background: url(../images/nav_li_hover.jpg) repeat-x center top;
}
.nav_sub {
padding: 6px;
}
.nav_sub a {
padding: 0 2px;
}
我是新手
就劳烦高手们写详细点了
谢谢******
谁给我一份头部的代码??
代码 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询