lygzhuangyan - 2013/7/22 8:11:44
菜单栏目设定的菜单太多了,想修改 一下宽度,请问如何修改?
在线等,谢!
xiyou - 2013/7/22 10:44:43
修改模板css文件中的menu_style{}
lygzhuangyan - 2013/7/22 11:58:51
修改模板css文件中的menu_style{}
能否说具体点?
*网站基础样式*/
body,div,ul,li,table,p,h1,form,legend,fieldset,input button,select,textarea,button{margin:0px;padding:0px;font-family:inherit;font-size:inherit;}
ul,li{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
a{color:#333333;text-decoration:none;}
a:hover{text-decoration:underline;}
body{word-wrap:break-word;text-align:center;font:12px/20px Verdana,Helvetica,Arial,sans-serif;color:#333333;background:url(images/bg.jpg) no-repeat}
.page_style{width:990px;margin:0px auto 0px auto;text-align:center;overflow:hidden;}
.clear{clear:both;font-size:0px;height:0px;line-height:0px;margin:0 0 0 0;padding:0 0 0 0;overflow:hidden}
/*menu样式*/
.menu_box{clear:both;width:100%;background:url(images/top_bg.gif) repeat-x 0 0;}
/**********LOGO在上方样式***********/
.menu_box_style1_1{clear:both;border:0 solid #cccccc;}
.menu_box_style1_1_1{float:left;}
.menu_box_style1_1_2{float:right;padding:0 0 0 0;}
.menu_box_style1_2{clear:both;margin:1px 0 0 0;text-align:left;height:38px;font-size:13px;background:url(images/menu_bg.jpg) repeat 0 0;border:0 solid #dddddd;}
.menu_style_1_first{float:left;text-align:center;}
.menu_style_1{float:left;text-align:center;background:url(images/menu_style.gif) no-repeat left center;}
a.menu_1:link{display:block;height:30px;width:110px;color:#ffffff;text-decoration: none;font-weight:bold;padding:8px 0 0 0}
a.menu_1:visited {display:block;height:30px;width:110px;color:#ffffff;text-decoration:none;font-weight:bold;padding:8px 0 0 0}
a.menu_1:hover {display:block;height:30px;width:110px;color:#FFFF33;text-decoration:none;font-weight:bold;padding:8px 0 0 0;}
a.menu_current_1{display:block;height:30px;width:110px;color:#FFFF33;text-decoration:none;font-weight:bold;padding:8px 0 0 0;}
a.menu_current_1:hover{display:block;height:30px;width:110px;color:#FFFF33;text-decoration:none;font-weight:bold;padding:8px 0 0 0;}
/**********LOGO在左侧样式***********/
.menu_box_style2_1{border:0 solid #cccccc;text-align:right;padding:5px 2px 5px 0}
.menu_box_style2_2{clear:both;height:50px;}
.menu_box_style2_2_1{float:left;width:250px;height:50px;overflow:hidden;text-align:left}
.menu_box_style2_2_2{float:right;width:720px;height:30px;margin:20px 0 0 0;padding-left:30px;text-align:right;overflow:hidden;background:url(images/menu_bg_1.gif) repeat 0 0;}
.menu_style_2_first{float:left;height:25px;text-align:center;padding:6px 0 0 20px;}
.menu_style_2{float:left;height:25px;text-align:center;padding:6px 20px 0 20px;background:url(images/menu_style_1.gif) no-repeat left center;}
a.menu_2:link{color:#ffffff;text-decoration: none;font-weight:normal;padding:8px 0 0 0}
a.menu_2:visited {color:#ffffff;text-decoration:none;font-weight:normal;padding:8px 0 0 0}
a.menu_2:hover {color:#ffffff;text-decoration:none;font-weight:normal;padding:8px 0 0 0;text-decoration:underline;}
a.menu_current_2{color:#ffffff;text-decoration:none;font-weight:bold;padding:8px 0 0 0;}
a.menu_current_2:hover{color:#ffffff;text-decoration:none;font-weight:bold;padding:8px 0 0 0;}
xiyou - 2013/7/22 14:49:29
a.menu_1
和a.menu_current_1
开头的所有样式的width属性