/******************纵向菜单样式(一)******************/ #PARENT{ width:182px; padding-left:0px; } /*****************横向菜单样式(一)*****************/ a.fund:link { color:#5895BA;text-decoration:none; } a.fund:visited { color:#5895BA; text-decoration:none;} a.fund:hover { color:#FD4B0E;} a.fund:active { color:#5895BA; text-decoration:none; } /******************后台纵向菜单样式(一)******************/ /*定义整个ul菜单的行高和背景色*/ #nav2 { width:182px; line-height: 24px; list-style-type: none; text-align:left; margin:0;padding:0;} /*==================一级目录===================*/ /*Width(一定要),否则下面的li会变形*/ #nav2 a { width: 172px; display: block; padding-left:0px; margin:5px 0 5px 0; blr:expression(this.onFocus=this.blur());/*点击一个超链接,会在这个链接上出现一个虚线的边框虚线,实际上通过响应onfocus事件去掉该边框*/ } /*一级目录宽度*/ #nav2 li { width:182px; /*一级目录的背景色*/ background-color:#E0E0E0; border-top:#ffffff 2px solid; float:left; /*float:left,本不应该设置,但由于在Firefox不能正常显示继承Nav的width,限制宽度,li自动向下延伸*/ } #nav2 li a:hover{color: #D36F0C; text-decoration: none;font-weight:font-bold; /*一级目录onMouseOver显示的背景色*/ } #nav2 a:link { color: #344F67; text-decoration: none; } #nav2 a:visited { color: #344F67; text-decoration: none; } #nav2 a:hover { color: #D36F0C; text-decoration: none;font-weight:font-bold;} /*==================二级目录===================*/ #nav2 li ul { list-style:none; text-align:left; margin:0;padding:0;} #nav2 li ul li{ /*二级目录的背景色*/ } #nav2 li ul a{padding-left:5px;width:172px;/* padding-left二级目录中文字向右移动,但Width必须重新设置=(总宽度-padding-left)*/ } /*下面是二级目录的链接样式*/ #nav2 li ul a:link { color: #344F67; text-decoration: none;} #nav2 li ul a:visited { color: #344F67; text-decoration: none;} #nav2 li ul a:hover { color: #D36F0C; text-decoration: none;font-weight:font-bold; /* 二级onmouseover的字体颜色、背景色*/ } /*==============================*/ #nav2 li:hover ul { left: auto; } #nav2 li.sfhover ul { left: auto; } #content2 { clear: left; } /*此节,用来控制菜单是否全部展开,如果注释掉,菜单就全部展开,在调试程序时有用。*/ #nav2 ul.collapsed { display: none; } #PARENT2{ width:60px; padding-left:0px; } a#FPcolor { color:#000000; } -->