#topmenu { background: url(../images/topmenu_bg.gif) repeat-x; height:30px; border:1px solid #7EAC00; border-width:0 1px;}
#topmenu div{ margin-left:15px;}
#topmenu a { float:left; width: 65px; height: 30px; text-align: center; text-decoration: none; font-size:14px; font-weight:bold; color: #FFFFFF; line-height:2.2em; overflow: hidden; }
#topmenu a:hover { background: url(../images/topmenu_abg.gif) no-repeat top center;}
#newsmenu a.news, #blogmenu a.blog, #imagemenu a.image, #goodsmenu a.goods, #videomenu a.video, #filemenu a.file, #linkmenu a.link, #groupmenu a.group, #bbsmenu a.bbs, #topicmenu a.topic { background: url(../images/topmenu_abg.gif) no-repeat top center; }
#topmenu a.bbs { width: 80px;float: right; background: url(../images/topmenu_bbsbg.gif);text-indent: -9999px;}
#topmenu a.bbs:hover { background: url(../images/topmenu_bbsbg.gif);}
/*顶部导航*/
#a_topmenu {color:#999999; height:27px; overflow: hidden; background: #F6F6F6; border-bottom: 1px solid #DFDFDF; text-align: right; line-height: 2em; padding:3px 10px 0 10px; }
#a_topmenu span { list-style: none;float:left;}
#a_topmenu a { color: #999999; }
#pagetitle { padding: 8px 0; height: 56px; he\ight: 40px; border-bottom: 4px solid #FFFFFF; overflow: hidden; }
#logo { padding: 0 10px; margin-right: 10px; }
.banner { width:960px;text-align:center; overflow:hidden;clear:both; margin-bottom:5px; }
.bannertop { width:750px; overflow:hidden;clear:both;float: right;text-align:right; }
/*主导航*/
#menu {border-bottom: 1px solid #DFDFDF; line-height: 20px; background: #F7F7F7; overflow: hidden; width:960px; padding:5px 0; }
#menu ul { list-style: none; margin: 0; padding: 0; overflow: hidden; }
#menu li { float: left; margin: 0 1.2em; white-space: nowrap; }
/*首页导航*/
#menu dl { margin: 0 1.5em; padding: 0; height: 25px; overflow: hidden; }
#menu dt { float: left; width: 4em; white-space: nowrap; }
#menu dt a { color: #73880A !important; }
#menu dd { float: left; width: 6em; margin: 0 2px; overflow: hidden; white-space: nowrap; }
/*您的位置导航*/
#navigation { padding: 5px 0 10px; }
#navigation p { margin: 0;padding-top:3px;}
#navigation label{line-height:20px;}
#navigation p a, #navigation p strong { margin: 0 5px; }
#searchform { float: right; }
#searchform * { vertical-align: top; }
#searchform button { margin-left: 0.5em; }
/*简单页面的位置导航*/
#navigation.simplepage { padding: 0; border-bottom: 1px solid #DFDFDF; height: 30px; line-height: 30px; overflow: hidden; background: #F7F7F7 url(../images/title_icon.gif) no-repeat 10px 6px;; margin-bottom: 1em; }
#navigation.simplepage p { float: right; margin-right: 0.5em; }
#navigation.simplepage h1, #navigation.simplepage h2 { margin: 0; font-size: 1.2em; padding-left: 32px; }
我装上后 menu 改成4个子后 挤到一起了 看这好怪异 问下 大家上面的代码该改哪段呢? |