产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » xiyou求助:为什么我发表文章修改字体后会出问题
菠萝的海 - 2013/11/25 10:42:24
我添加文章,然后在文章编辑系统里面设置了文章字体的大小之后,前台预览 文字字体居然由默认的黑色都变成了灰色

我现在不知道css 哪里出问题了

附CSS代码:


@import url(/e/css/comm.css);

/*网站基础样式*/
body,div,ul,li,dl,dd,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;}
a{color:#333333;text-decoration:none;}
a:hover{text-decoration:underline;}
UL {
    LIST-STYLE-TYPE: none; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px
}
LI {
    LIST-STYLE-TYPE: none; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px
}
H3 {
    FONT-SIZE: 14px; MARGIN: 0px
}
H4 {
    FONT-SIZE: 12px; MARGIN: 0px
}
img {border: 0}
body{word-wrap:break-word;text-align:center;font:12px/1.6em Tahoma,Helvetica,Arial,sans-serif;color:#333333;background:url(images/top_pic.jpg) no-repeat top;}
.page_style{width:960px;margin:0px auto 0px auto;text-align:center;overflow:hidden;}
.left{float:left}
.right{float:right}
.clear{display:block;clear:both;font-size:0px;height:0px;line-height:0px;width:0px;margin:0 0 0 0;padding:0 0 0 0;overflow:hidden}


/*menu样式*/

.top_box{clear:both;width:100%;}
.top_box .logo{float:left;text-align:left;padding:5px 0 5px 0}
.top_box .topcontent{text-align:right;padding:5px 0 0px 0}
.menu_box{clear:both;text-align:left;height:35px;background:url(images/menu_bg_1.gif) repeat 0 0;border:0;solid #dddddd;padding-left:30px;border-top-right-radius:2em;}

.menu_style_homepage{float:left;text-align:center;padding:8px 20px 0 20px;}
.menu_style{float:left;text-align:center;padding:8px 20px 0 20px;background:url(images/nav_line.png) no-repeat left top};

a.menu:link{display:block;color:#ffffff;text-decoration: none;font-weight:bold;height:25px;}
a.menu:visited {display:block;color:#ffffff;text-decoration:none;font-weight:normal;height:25px;}
a.menu:hover {display:block;color:#ffffff;text-decoration:none;font-weight:norma;;text-decoration:underline;height:25px;}

.menu_current a.menu{display:block;color:#ffffff;text-decoration:none;font-weight:bold;;}
.menu_current a.menu:hover{display:block;color:#ffffff;text-decoration:none;font-weight:bold;;}

.top_menu { float:right; width:100%;height:35px; line-height:35px;}
.top_menu a{ float:right;padding-left:10px;   }
.top_menu span{ float:right; padding:0px 10px;}
.top_menu a{ color:#0d4f0d; background:url(images/ico_01.gif) no-repeat 0px 50%;}

.search_box{ background:url(images/search_bg.gif) no-repeat 0px;}span{ color:#919191}
.search_box{ width:150px; padding:2px 1px 0px 1px; float:right; text-align:right}
.search_box input.ip_1{ float:left; border:1px #fff solid; height:13px; line-height:13px; width:126px;}
.search_box input.ip_2{ float:left; border:none; height:19px; line-height:19px; background:none; cursor:pointer; width:18px;}


/*banner样式*/

.banner{clear:both;padding:0 0 0 0;margin:2px 0 0 0;text-align:left}
.smallbanner{clear:both;padding: 0 0 0 0;margin:0 0 5px 0;text-align:left}


/*栏目布局样式*/

.lanmu_box{clear:both;margin:5px 0 5px 0;overflow:hidden;}

.lanmu_box_style1{clear:both;margin:5px 0 0 0;background:url(images/lanmu_style1_bg.gif) repeat-y 0 0;height:100%;overflow:hidden;}
.lanmu_box_style1_left{float:left;width:210px;margin:0 10px 0 0;overflow:hidden;text-align:left;}
.lanmu_box_style1_right{float:right;width:740px;margin:0 0 0 0;overflow:hidden;text-align:left;}

.lanmu_box_style2{clear:both;margin:5px 0 0 0;background:url(images/lanmu_style1_bg.gif) repeat-y right top;height:100%;overflow:hidden;}
.lanmu_box_style2_left{float:left;width:740px;margin:0 10px 0 0;overflow:hidden;text-align:left;}
.lanmu_box_style2_right{float:right;width:210px;margin:0 0 0 0;overflow:hidden;text-align:left;}
.lanmupage .lanmu_box_style2{margin:5px 0 10px 0;background:url(images/lanmu_stylehome_bg.gif) repeat-y right top;}
.lanmupage .lanmu_box_style2_left{width:740px;}
.lanmupage .lanmu_box_style2_right{width:210px;}

.lanmu_box_style3{clear:both;margin:5px 0 0 0;background:url(images/lanmu_style3_bg.gif) repeat-y 0 0;height:100%;overflow:hidden;}
.lanmu_box_style3_left{float:left;width:210px;margin:0 10px 0 0;overflow:hidden;text-align:left;}
.lanmu_box_style3_middle{float:left;width:530px;margin:0 0 0 0;overflow:hidden;text-align:left;}
.lanmu_box_style3_right{float:right;width:210px;margin:0 0 0 10px;overflow:hidden;text-align:left;}


/*首页图文混排样式*/
.ul_list_style_1 LI {
    HEIGHT: 25px; LINE-HEIGHT: 25px
}
.ul_list_style_1 LI A {
    OVERFLOW: hidden; WHITE-SPACE: nowrap; TEXT-OVERFLOW: ellipsis; FLOAT: left; PADDING-LEFT: 3%; DISPLAY: block; WIDTH: 97%; -o-text-overflow: ellipsis
}
.ul_list_style_1 LI A {
    BACKGROUND: url(images/ico_01.gif) no-repeat 0px 50%; COLOR: #4c4c4c
}
.ul_list_style_1 LI A:hover {
    COLOR: #1c4a94
}
.ul_list_style_2 {
    FLOAT: left; PADDING-BOTTOM: 10px; PADDING-TOP: 10px; PADDING-LEFT: 2%; PADDING-RIGHT: 2%; WIDTH: 96%
}
.ul_list_style_2 LI {
    FLOAT: left; margin-bottom:6px;PADDING-LEFT: 5%; WIDTH: 44%;
}
.ul_list_style_2 {
    BORDER-BOTTOM: #cccccc 1px dotted
}
.ul_list_style_2 LI {
    BACKGROUND: url(images/ico_02.gif) no-repeat 0px 50%
}
.ul_list_style_2 LI A {
    COLOR: #0d4f0d
}
.list_title_style_1 {
    HEIGHT: 21px; LINE-HEIGHT: 21px
}
.list_title_style_1 SPAN {
    HEIGHT: 20px; PADDING-LEFT: 15px; LINE-HEIGHT: 20px
}
.list_title_style_2 {
    LINE-HEIGHT: 15px
}
.list_title_style_3 {
    HEIGHT: 21px; LINE-HEIGHT: 21px
}
.list_title_style_3 {
    BORDER-BOTTOM: #d0d0d0 1px solid; COLOR: #656565
}
.turnpage_bar {
    HEIGHT: 30px; CLEAR: both; LINE-HEIGHT: 30px
}
.list_text_1 {
    PADDING-BOTTOM: 5px; PADDING-TOP: 5px; PADDING-LEFT: 0px; LINE-HEIGHT: 15px; PADDING-RIGHT: 0px
}
.list_text_1 A {
    CURSOR: pointer
}
.more_1 {
    FONT-FAMILY: 宋体; COLOR: #a3322d
}
.more_2 {
    FONT-FAMILY: 宋体; COLOR: #4c4c4c
}
.list_title_style_1 SPAN {
    BACKGROUND: url(images/ico_03.jpg) no-repeat 0px 30%; BORDER-BOTTOM: #0d4f0d 2px solid; COLOR: #0d4f0d
}
.list_title_style_1 {
    BORDER-BOTTOM: #929292 1px solid
}
.list_title_style_2 {
    COLOR: #000
}
.list_title_style_2 A {
    COLOR: #000
}
.list_text_1 {
    COLOR: #000
}
.BlankLine0 {
    FONT-SIZE: 1px; HEIGHT: 3px; CLEAR: both; LINE-HEIGHT: 3px
}
.BlankLine1 {
    FONT-SIZE: 1px; HEIGHT: 10px; CLEAR: both; LINE-HEIGHT: 10px
}


/*栏目导航样式*/
.nav_box{clear:both;margin:0 0 0 0;overflow:hidden;padding:0 0 0 0;}
.nav_sign{float:left;height:22px;padding:15px 0 0 70px;text-align:center;color:#ffffff;}
.nav_more{float:right;font-weight:normal;padding:6px 10px 0 10px;margin:0 0 0 0;}
.nav_more a{line-height:15px;font-size:11px;color:#ffffff}
.nav_title{height:50px;text-align:center;font-size:18px;font-weight:bold;cursor:pointer;BACKGROUND: url(images/second_nav_title_bg.png) #5C8501;no-repeat;overflow:hidden;}
.nav_header{text-align:left;padding:0 0 0 0;margin:0 0 0 0}
.nav_content{margin:0 0 0 0;padding:5px 10px 10px 10px;text-align:left;}

.nav_menu{margin:0 0 0 0;padding:5px 10px 10px 10px;text-align:left;}

.nav_menu li{clear:both;text-align:left;padding:0 0 0 70px;background:url(images/lanmu_nav_menu_bg_g.gif) no-repeat 0 0;}
.nav_menu li a{line-height:25px;}
.nav_menu li a.current{color:#cc0000;}

.nav_menu li ul li{text-align:left;background-image:none;padding:0 0 0 0;}
.nav_menu li ul li a{display:inline;line-height:22px;}
.nav_menu li ul li a:hover{color:#ff0000}
.nav_menu li ul li a.current{color:#cc0000}

.nav_menu ul li ul li ul{padding:0 0 0 15px;}
.nav_menu ul li ul li span.node{float:left;height:22px;width:15px;background:url(images/node_open.gif) no-repeat 0 0;cursor:pointer;}
.nav_menu ul li ul li span.node_close{float:left;height:22px;width:15px;background:url(images/node_close.gif) no-repeat 0 0;cursor:pointer;}
.nav_menu ul li ul li span{float:left;height:22px;width:15px;background:url(images/subnav.gif) no-repeat 0 0;}

/*模块布局样式*/
.module_box{clear:both;margin:0 0 5px 0;border:0 solid #cccccc;overflow:hidden;}                 /*模块整行布局样式*/
.module_box_layout_left{float:left;margin:0 0 5px 0;border:0 solid #cccccc;overflow:hidden;}  /*模块左布局样式*/
.module_box_layout_right{float:right;margin:0 0 5px 0;border:0 solid #cccccc;overflow:hidden;}   /*模块右布局样式*/

.module_box_1{clear:both;text-align:center;padding:0px 0 5px 0;border:1px solid #DBF1A8;overflow:hidden;height:100%;}/*整行内容样式*/
.module_box_1_layout_left{clear:both;text-align:center;margin:0 10px 0 0;padding:0px 0 5px 0;border:1px solid #DBF1A8;overflow:hidden;height:100%;} /*左模块内容样式*/
.module_box_1_layout_right{clear:both;text-align:center;margin:0 0 0 0;padding:0px 0 5px 0;border:1px solid #DBF1A8;overflow:hidden;height:100%;} /*右模块内容样式*/

.module_title{margin:0 0 0 0;height:28px;text-align:left;border:0 solid #DBF1A8;border-width:1px 0px 1px 0px;background:url(images/template_title_bg.jpg) repeat-x 0 0;overflow:hidden;}
.module_sign{float:left;text-align:center;width:100px;margin:4px 0 0 5px;height:23px;padding:3px 0 0 0;font-weight:bold;color:#5BB424;border:1px solid #DBF1A8;background:url(images/nav_sign_bg.gif) repeat-x bottom;}
.module_more{float:right;font-weight:normal;padding:6px 10px 0 10px;margin:0 0 0 0;}
.module_more a{line-height:15px;font-size:11px;color:#5BB424}
.module_header{text-align:left;padding:0 0 0 0;margin:0 0 0 0}

.module_content{margin:0 0 0 0;padding:5px 10px 5px 10px;text-align:left;height:100%}

.module_footer{clear:both;height:1px;overflow:hidden;background-color:#cccccc;display:none}
.module_footer .l{float:left;}
.module_footer .r{float:right}

/*栏目内容样式*/
.lanmupage .current_location{display:none}
.current_location{clear:both;height:25px;text-align:left;background-color:#ECF5E4;overflow:hidden;}
.current_location_1{float:left;padding:3px 5px 0 15px;}
.current_location_2{float:left;font-weight:bold;padding:10px 0 0 10px;display:none;}

.sublanmu_box{text-align:left;padding-bottom:10px;}
.sublanmu_content{padding:5px 5px 5px 10px;text-align:left;overflow:hidden;}
.sublanmu_page{clear:both;text-align:center;margin:15px 0 10px 0;font-size:14px;font-family:宋体;}
.sublanmu_page a{vertical-align:middle;zoom:1;height:15px;line-height:15px;padding:2px 8px 3px 8px;border:1px solid #cccccc;}
.sublanmu_page span{vertical-align:middle;zoom:1;height:15px;line-height:15px;padding:2px 8px 3px 8px;border:1px solid #cccccc;}
.sublanmu_page span.c{padding:2px 2px 3px 2px;font-weight:bold;border:0px solid #cccccc;}
.v {font-size: 14px;}
#Content{line-height:180%}
.sublanmu_pn{font-size:13px;margin:15px 0 5px 0}
.sublanmu_pn li{color:#D33506}

/*评论*/
.comments_box{text-align:left;border:1px solid #cccccc;margin:10px 0 10px 0;}
.comments_box .title{padding:2px 0 0 10px;height:20px;font-weight:bold;background-color:#ececec}
.comments_box ul li{padding:5px 0 5px 25px;}
.comments_box .textarea{width:520px;height:100px;border:1px solid #cccccc;border-color:#000000 #cccccc #cccccc #000000;}

.comments_list{padding:5px 0 0 0;border:0px solid #cccccc;overflow:hidden}
.comments_list .title{display:block;padding:2px 0 3px 5px;height:18px;width:100%;font-weight:bold;}
.comments_list .item{clear:both;margin:0 0 10px 0;overflow:hidden}
.comments_list .header{padding:3px 0 0 10px;height:22px;background-color:#eeeeee}
.comments_list .header .floornum{font-size:12px;font-style:Italic;font-weight:bold}
.comments_list .header .left{float:left}
.comments_list .header .right{float:right;padding-right:10px}
.comments_list .quote{display:block;color:#999999;padding:5px 5px 5px 10px;border:1px solid #ececec}
.comments_list .content{padding:5px 5px 5px 15px}
.comments_list .reply{background:url(public/reply.gif) no-repeat 5px 5px;border:1px dashed #cccccc;padding:2px 5px 2px 25px;margin:2px 0 5px 0;color:#D33506}

.comments_page{clear:both;vertical-align:middle;text-align:right;background-color:#ffffff;margin:10px 0 10px 0;font-family:宋体;}
.comments_page a{height:15px;line-height:15px;vertical-align:middle;zoom:1;padding:2px 8px 2px 8px;border:1px solid #cccccc;font-size:12px}
.comments_page span{height:15px;line-height:15px;vertical-align:middle;zoom:1;padding:2px 5px 2px 5px;font-size:12px}
.comments_page span.c{vertical-align:middle;padding:2px 3px 2px 3px;font-weight:bold;font-size:12px;}

/*bottom样式*/
.bottom_box{clear:both;padding:0 0 5px 0;margin:0 0 0 0;border:0 solid #666666;text-align:left;width:100%}
.f_1 {
    COLOR: #0d4f0d
}


/*幻灯片样式*/
.slide_box{position:relative;}
.slide_item{position:absolute;bottom:0px;right:0px;}
.slide_item li{float:left;width:22px;height:16px;overflow:hidden;background:url(public/f_off.gif) no-repeat;cursor:pointer;color:#fff;text-align:center;font-family:Arial;font-size:11px}
.slide_item li.current{background-image:url(public/f_on.gif)}
.slide_image{border:0 solid #cccccc;}
a.slide_title{font-weight:bold;margin:3px 0 2px 0;}


/*登陆界面*/
.loginbox_item{height:20px;padding:0 0 0 0;padding:0 5px 5px 0;text-align:left;font-size:9pt;}
.loginbox_textbox{width:100px;height:15px;border:0 solid #5BB424;border-width:1px 1px 1px 1px}
.loginbox_textbox_yzm{width:40px;height:15px;border:0 solid #5BB424;border-width:1px 1px 1px 1px}
.loginbox_submit{width:90px;height:20px;border:0 solid #333333;border-width:0 1px 1px 0;background-color:#dddddd;cursor:pointer;}
a.logined_href:link{font-size:9pt;color:#FF0000;text-decoration:underline}
a.logined_href:visited{font-size:9pt;color:#FF0000;;text-decoration:underline}
a.logined_href:hover{font-size:9pt;color:#FF0000;text-decoration:underline}

/*其他样式*/
.textarea{border:1px solid #cccccc;border-color:#000000 #cccccc #cccccc #000000;}
.button{width:55px;font-size:9pt;height:19px;cursor:pointer;background-image:url(public/button.gif);background-position: center center;border-top: 0px outset #eeeeee;border-right: 0px outset #888888;border-bottom: 0px outset #888888;border-left: 0px outset #eeeeee;padding-top: 2px;background-repeat: repeat-x;}
.tb{border:1px solid #cccccc;border-color:#000000 #cccccc #cccccc #000000;}
.bt{height:22px;width:70px;font-size:9pt;background-image:url(public/bt.gif);padding-top:2px;cursor:pointer;border-width:0px;}


问题图片:
后台添加文章 修改了字体大小

5615


前台文章居然字体全部灰色了
5616
1
查看完整版本: xiyou求助:为什么我发表文章修改字体后会出问题