css里怎么再加一个代码呀?谢谢
我要在下面增加一个h7的样式代码,样式的功能要像h6一样的,请问怎么加?我自己怎么加都不行,在主页里就是显示不出h7的样式。请高手帮忙一下,谢谢!css文件如下:谢谢1楼回复,这个问题是我没有说明白,不好意思哦。其实难我的的意思就是这样的,样式功能是和h6一样,但我要的是里面的颜色不一样的(也就是说在网页上可以分开为两种颜色)。颜色方面我自己会修改,只要高手能帮加上一个h7的样式代码就行了,谢谢!
* html,.mw {width:950px;margin:0 auto;background:#ffffff;}
* {word-wrap:break-word;word-break:break-all;}
body {position:relative; margin:0; text-align:center;background:#0000FF;}
body,td,div,form {color:#000; font-family: "宋体", Arial, Tahoma,Verdana, Helvetica, sans-serif; font-size:12px;}
p,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,ul,li,img,blockquote,form { margin:0; padding:0; border:0; list-style:none;}
h1 {text-align:center;font:bold 20px "Microsoft Yahei",sans-serif;margin:10px 0;}
h3 {text-align:center;font-weight:normal;font-size:12px;padding-bottom:10px;margin-bottom:10px;border-bottom:1px dashed #ccc;}
.mwall {width:960px;margin:0 auto;padding:0 0 5px 0;background:#ffffff;height:auto!important; height:750px;min-height:750px;}
#ad250 {float:left;margin-right:5px;}
#ad468 {height:60px;width:468px;margin:5px auto;}
.bgf7f7f7 {background:#f7f7f7;padding-left:3px;}
.borderall {border:1px solid #00FF33;background:#D5D52B;}
#clear {margin:0;padding:0;clear:both;background:#ffffff;}
.note {font-size:12px;color:#999999; font-style:italic;}
.adgs {padding-left:50px;}
.none {display:none;}
a:link,a:visited {color:#000000;text-decoration:none;}
a:hover {color:#ff0000;text-decoration:underline;}
/*顶部*/
#toplogin {background:#f7f7f7;line-height:25px;height:25px;margin-bottom:5px;padding:2px 10px;overflow:hidden;text-align:left;}
#toplogin span {float:right;width:350px;text-align:right;}
#webhead {width:950px;margin:0px auto;height:100px;background:#ffffff;}
#webhead #logo {float:left;width:200px;}
#webhead #banner {float:left;width:480px;margin:0 10px;text-align:center;}
#webhead #topright {float:right;width:250px;text-align:left;padding:10px 0 0 0;}
#webhead #topright .textad {margin-top:10px;}
#webhead #topright .topright3 li{float:left;width:61px;line-height:20px;height:20px;}
#webhead #topright .topright3 #mlist{line-height:19px;z-index:100;background:#FFFF00;border:1px solid #FFFFFF;POSITION:
absolute;*margin:12px 0 0 -55px;padding:5px;text-align:left;}
#webhead #topright .topright3 #mlist a:link,#webhead #topright .topright3 #mlist a:visited{color:#000000;}
#webhead #topright .topright3 #mlist a:hover {background:#FF0000; text-decoration:none;color:#E61AE6;}
#webhead #topright .topright3 .menu2{overflow-y:hidden;}
/*导航*/
/*下拉菜单*/
/*图片文章调用*/
/*首页*/
#ileft {float:left;width:212px;}
#icenter {float:left;margin:0 5px;width:514px;}
#ileft1 {float:left;width:252px;}
#icenter1 {float:left;margin-left:6px;width:474px;}
#iright {float:right;width:212px;}
.topnews {margin:0 0 5px 7px;}
.topnews h4 {font:bold 22px Microsoft Yahei,sans-serif;margin:5px auto;line-height:30px;height:30px;overflow:hidden;}
.topnews h4 a{text-decoration:none;}
#h7 {border-style:none; border-width:medium;text-align:center;font-weight:normal;font-color=#FFFFFF;font-size:12px;padding-
bottom:10px;margin-bottom:10px;border-bottom:1px dashed #ccc;}
.notice {background:#D5D52B;height:25px;line-height:25px;text-align:left;padding:0 4px;}
.notice div {float:left;}
.notice ul {width:400px;overflow:hidden;}
.notice li {float:left;width:400px;line-height:20px;height:20px;overflow:hidden;}
#toplist {float:left;width:470px;}
#toplist li {text-align:left;font-size:14px;line-height:25px;height:25px;overflow:hidden;padding-left:5px;}
#toplist li span {float:right;color:#999999;}
.userlist {border:1px solid #E7E3E7;border-top:0;}
.userlist td {text-align:left;height:22px;}
.topjx {text-align:left;color:#636563;line-height:23px;}
#ilist,#ilist212,#ilist250 {border:1px solid #00FF33;background: #ffffff;text-align:left;margin-bottom:4px;}
#ilist9 {width:512px;border:1px solid #00FF33;background: #ffffff;text-align:left;margin-bottom:5px;}
#ilist h6,#ilist212 h6,#ilist250 h6 {color:#E61AE6;background: #7B6699;padding:5px;margin:1px;font-size:14px;}
#ilist h6 span,#ilist212 h6 span,#ilist250 h6 span{float:right;font-size:12px;color:#cccccc;font-weight:normal}
#ilist h6 a,#ilist212 h6 a,#ilist250 h6 a{color:#E61AE6;}
#ilist9 ul {width:512px;margin:0px auto;overflow:hidden;}
#ilist212 ul {width:210px;overflow:hidden;}
#ilist250 ul {width:250px;overflow:hidden;}
#ilist {float:left;width:360px;}
#ilist ul {padding:0 4px;}
#ilist li {float:left;font-size:12px;width:350px;line-height:22px;height:22px;overflow:hidden;margin-left:1px}
#ilist212 li {float:left;font-size:12px;width:207px;line-height:22px;height:22px;overflow:hidden;margin-left:1px}
#ilist250 li {float:left;font-size:12px;width:244px;line-height:22px;height:22px;overflow:hidden;margin-left:1px;}
#iright .ititle {background:url(title_bg.gif) left top no-repeat;color:#424542;font-size:12px;text-align:left;padding:7px 10px;letter-
spacing: 5px;font-weight:bold;}
#iright .igslist {border-bottom:1px solid #E7E3E7;text-align:left;padding:5px 0 5px 3px;height:68px;overflow:hidden;}
.igslist a:link,.igslist a:visited {color:#FF6500;}
.igslist li {color:#00309C;padding:3px;line-height:19px;}
.iltitle {background:url(title_bg2.gif) no-repeat;color:#424542;padding:7px 15px 8px 15px;text-align:left;letter-spacing: 5px;font-
weight:bold;}
.illist {border:1px solid #E7E3E7;border-top:0;text-align:left;padding:5px 4px;position: relative;}
#ilall {float:left;width:240px;border-bottom:1px dashed #E7E3E7;padding:5px}
.ihits {float:left;width:25px;padding:5px 0;text-align:center;margin:0 5px 5px 0;background:#FFEB7B;color:#CE0000;font-weight:bold;}
.iltitle_1 {float:left;width:198px;text-align:left;}
.iltitle_1 li {margin-top:4px;color:#8C8A8C}
.iltitle_1 a:link,.iltitle_1 a:visited {font-size:14px;color:#00309C;text-decoration:underline;}
#ilist li a:link,#ilist212 li a:link,#toplist li a:link,#ilist250 li a:link,#ilist li a:visited,#ilist212 li a:visited,#ilist250 li
a:visited,#toplist li a:visited{color:#0099FF;}
.link {padding:10px 5px;text-align:left;line-height:20px;}
#nw_right {float:right;}
#web2r {border:1px solid #00FF33;width:300px;background: #D5D52B;text-align:left;margin-bottom:5px;}
#web2r h5 {background: #FF0000;padding:5px;margin:1px;font-size:14px;color:#E61AE6;}
#web2r ul {padding:0 4px;}
#list10 li {font-size:12px;height:25px;line-height:25px;border-bottom:1px dashed #ccc;overflow:hidden;}
#nw_left {float:left;}
#web2l {width:640px;border:1px solid #00FF33;margin:0 0px 5px 0;text-align:left;}
#web2l h5 span {background:#FF0066;color:#ffffff;padding:3px 5px;font-weight:bold;}
#web2l h5 span a:link,#web2l h5 span a:visited {color:#FFFFFF;}
#web2l h5 span a:hover {color:#FFFF00;text-decoration:none;}
#web2l h6 {background: #FF0000;padding:5px;margin:1px;font-size:14px;color:#E61AE6;}
#web2l h6 a{color:#E61AE6;}
#web2l #content {width:625px;font-size:14px;line-height:25px;padding:6px;overflow:hidden;}
#web2l #content p{margin-bottom:1em;}
#web2l #content #listul a{text-decoration:underline;}
#web2l #content .zhaiyao {margin:3px 20px;padding:5px;border:1px solid #ccc;background:#f7f7f7;}
#web2l #copy {margin:5px auto;border-bottom:1px dashed #ccc;width:90%;text-align:right;padding:10px;}
#web2l #content li {font-size:12px;color:#000000;}
#web2l #content #listul li a:link,#web2l #content #listul li a:visited {font-size:14px;color:#6F9183;font-weight:bold;text-decoration:none;}
#web2l #content #listul li a:hover {color:#ff0000;text-decoration:underline;}
#web2l #content .box{padding:0 1em; line-height:2em; margin-top:5px;padding-bottom:5px;color:#09F7F7}
.dh {background:url(dh.gif) 6px 8px no-repeat;padding:7px 20px;margin:1px;text-align:left;font-weight:normal;font-size:12px;}
.dh span {float:right;}
/*列表分页*/
[ 本帖最后由 znmw 于 2011-12-30 18:05 编辑 ]