/* mainNav */
#mainNav {
height:31px; /****一级栏目高度****/
text-align:center;
position:absolute;
bottom:0;
left:250px;
}
.ddsmoothmenu {
font: normal 12px Verdana;
width: 745px;
}
.ddsmoothmenu ul {
z-index:100;
margin: 0;
padding: 0;
list-style-type: none;
}
/*顶级菜单项*/
.ddsmoothmenu ul li {
position: relative;
display: inline;
float: left;
padding-left:5px;
border-left:solid 1px #ddd;
}
.ddsmoothmenu ul li a {
display: block;
width:90px;
line-height:31px;/****改为跟一级栏目高度同样的数值****/
background:url(mainNavBg.gif) no-repeat 0 0;/****一级栏目间隔线背景****/
text-decoration: none;
text-align:left;
font-weight:bold;
}
* html .ddsmoothmenu ul li a {
display: inline-block;
}
.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited {
}
.ddsmoothmenu ul li a:hover {
background-position:0 -31px;
}
/*子级菜单*/
.ddsmoothmenu ul li ul {
position: absolute;
left: 0;
display: none;
visibility: hidden;
}
.ddsmoothmenu ul li ul li {
display: list-item;
float: none;
border:none;
padding:0;
}
.ddsmoothmenu ul li ul li ul {
top: 0;
}
.ddsmoothmenu ul li ul li a {
background: #ddd;/****子级菜单背景****/
font: normal 12px Verdana;
padding:1px 16px;/****子级菜单内间距****/
width: 120px; /****子级菜单宽度****/
line-height:22px;/****子级菜单高度****/
margin: 0;
border: 1px solid #fff;/****子级菜单边框线****/
border-width:0 0 1px 1px;
filter: Alpha(opacity=80);
-moz-opacity:.80;
opacity:0.80;
}
.ddsmoothmenu ul li ul li a:hover {
background:#fff;/****子级菜单翻转背景****/
}
