www.gusucode.com > 4166网博士成品网站管理系统 PHP网站源码程序 > 4166/4166/menu/templates/images/channelmenu_6/A.css

    
/*=========栏目菜单===========*/

div#menu{
	height:62px;
    margin:0px;
	padding:0px;
}

#mainmenu a.channelmenu_main:link,#mainmenu a.channelmenu_main:active,#mainmenu a.channelmenu_main:visited{
   display:block;
   float:left;
   color: #fff; 
   margin: 0 0 0 -2px;
   padding: 0 4px 0 6px;
   height:50px;
   text-decoration: none;
   text-align:center;
   font:14px/36px 'Microsoft YaHei','SimSun',Arial,Sans-Serif;
}

#mainmenu a.channelmenu_main_current{
   display:block;
   float:left;
   color: #ffffff; 
   margin: 0 0 0 -2px;
   padding: 0 4px 0 6px;
   height:50px;
   text-decoration: none;
   text-align:center;
   font:bold 14px/36px 'Microsoft YaHei','SimSun',Arial,Sans-Serif;
   background: url(menu_a.png) no-repeat 50% -36px;
} 

#mainmenu a.channelmenu_main:hover {
   display:block;
   float:left;
   color: #ffffff; 
   margin: 0 0 0 -2px;
   padding: 0 4px 0 6px;
   height:50px;
   text-decoration: none;
   text-align:center;
   font:14px/36px 'Microsoft YaHei','SimSun',Arial,Sans-Serif;
   background: url(menu_a.png) no-repeat 50% -36px;
}

div#mainmenu	{
	margin-left:6px;
	padding:0;
    background: #fff url(menu_a.png) repeat-x  0 0;
}

div#menu .mainmenuleft{
	margin:0;
	padding:0;
	float:left;
	width:6px;
	height:36px;
	background: #fff url(menu_a.png) no-repeat 0 -125px;
}

div#menu .mainmenuright{
	margin:0;
	float:right;
	width:6px;
	height:36px;
	background: #fff url(menu_a.png) no-repeat 0 -165px;
}

div#mainmenu ul {
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    margin: 0 3px; 
}

div#mainmenu li{
    float: left;
    display: inline;
    margin: 0 0 0 -2px;
    padding: 0 4px 0 6px;
    background: url(menu_a.png) no-repeat 0 -72px;
}

div#mainmenu a{
    display: block;
    width: 102px;
    text-align: center;
    font:14px/36px 'Microsoft YaHei','SimSun',Arial,Sans-Serif;
}

div#mainmenu a:link,div#mainmenu a:visited{
    color: #fff;
	text-decoration: none;
}

div#mainmenu a:hover,div#mainmenu a:active{
    color: #fff;
    font-weight: bold;
    background: url(menu_a.png) no-repeat 50% -36px;
	text-decoration: none;
}

div#mainmenu a.current{
    color: #fff;
    font-weight: bold;
    background: url(menu_a.png) no-repeat 50% -36px;
	text-decoration: none;
}


div#channelmenu_sub	{
padding: 0;
height: 26px;
background:url(menu_a.png) repeat-x 0px -268px;
position: absolute;
left:0px;
}

div.sub	{
padding: 0;
height: 26px;
background:url(menu_a.png) repeat-x 0px -268px;
left:0px;
}

.smenuleft{
	margin:0;
	float:left;
	width:9px;
	height:26px;
	background: #fff url(menu_a.png) no-repeat 0 -236px;
}

div#channelmenu_sub .smenuright{
	margin:0;
	float:right;
	width:9px;
	height:26px;
	background: #fff url(menu_a.png) no-repeat 0 -299px;
}



div#channelmenu_sub ul{
display:none;
margin:0px 0px 0px 25px;
}

div#channelmenu_sub li {
margin:0;
list-style-type: none;
line-height:22px;
float:left;
color:#235e99;
white-space: nowrap;
}

div#channelmenu_sub a:link,div#channelmenu_sub a:visited,div#channelmenu_sub a:active{
margin:0 6px;
color:#235e99;
font:12px/22px 'Microsoft YaHei','SimSun',Arial,Sans-Serif;
text-decoration: none;
}

div#channelmenu_sub a:hover{
color:#235e99;
line-height:22px;
text-decoration: underline;
}