问题描述
- 哪句话限制了中文输出吗?
-
body {font-family:Arial, Helvetica, sans-serif,楷体,宋体,微软雅黑; font-size:100%; color:#333; min-width:960px; background:#f1f1f1}
.ic {border:0;float:right;background:#fff;color:#f00;width:50%;line-height:10px;font-size:10px;margin:-220% 0 0 0;overflow:hidden;padding:0}
.main {
height:35px;
width:960px;padding:0;
margin:0 auto;
font-size:0.8125em;
line-height:1.3846em;
}a {color:#39b9d6; outline:none}
a:hover {text-decoration:none}.wrapper {width:100%; overflow:hidden; position:relative}
.extra-wrap {overflow:hidden}p {margin-bottom:18px}
.p1 {margin-bottom:8px}
.p2 {margin-bottom:15px}
.p3 {margin-bottom:30px}
.p4 {margin-bottom:40px}
.p5 {margin-bottom:50px}.reg {text-transform:uppercase}
.fleft {float:left}
.fright {float:right}.alignright {text-align:right}
.aligncenter {text-align:center}.color-1 {color:#fff}
.color-2 {color:#333}
.color-3 {color:#39b9d6}.img-border {border:1px solid #fff}
/*********************************boxes**********************************/
.indent {padding:20px}
.indent-top {padding-top:24px}
.indent-left {padding-left:2px}
.indent-left2 {padding-left:40px}
.indent-left3 {padding-left:20px}
.indent-left4 {padding-left:10px}
.indent-right {padding-right:50px}.indent-bot {margin-bottom:20px}
.indent-bot2 {margin-bottom:28px}.prev-indent-bot {margin-bottom:10px}
.img-indent-bot {margin-bottom:25px}
.margin-bot {margin-bottom:35px}.img-indent {float:left; margin:0 20px 0px 0}
.img-indent2 {float:left; margin:0 15px 0px 0}
.img-indent3 {float:left; margin:0 6px 0px 0}
.buttons a:hover {cursor:pointer}
.menu li a,
.list-1 li a,
.list-2 li a,
.link,
.button,
h1 a {text-decoration:none}/*********************************header*************************************/
header {
width:100%;
position:relative;
z-index:2;
}
.row-top {
width:100%;
height:124px;
background:url(../images/row-top-tail.jpg) center top repeat-x;
overflow:hidden;
}h1 {
padding:43px 0 0 7px;
position:relative;
float:left;
}
h1 a {
display:block;
width:299px;
height:44px;
text-indent:-9999em;
background:url(../images/logo.png) 0 0 no-repeat;
}/***** search form *****/
#search-form {
padding:45px 10px 0 0;
float:right;
}
#search-form fieldset {
position:relative;
width:100%;
display:block;
overflow:hidden;
}
#search-form .search-field {
float:right;
width:300px;
height:34px;
background:url(../images/search-bg.jpg) 0 0 no-repeat;
}
#search-form input {
width:245px;
font-size:14px;
line-height:1.25em;
padding:9px 15px 9px;
font-family:Arial, Helvetica, sans-serif;
color:#646458;
background:none;
border:none;
margin:0;
outline:none;
}
#search-form .search-button {
display:block;
width:20px;
height:21px;
text-indent:-5000px;
background:url(../images/search-icon.png) left top no-repeat;
position:absolute;
right:7px;
top:7px;
}/***** menu *****/
.menu-row {
width:100%;
background:url(../images/menu-row-tail.gif) center top repeat-x #178fbe;
}
.menu-bg {
width:100%;
background:url(../images/menu-bg.jpg) center top no-repeat;
}
.menu {
padding:0 0 0 0;
background:url(../images/menu-spacer.gif) left top no-repeat;
}
.menu li {
float:left;
position:relative;
background:url(../images/menu-spacer.gif) right top no-repeat;
padding-right:2px;
}
.menu li a {
display:block;
font-size:18px;
line-height:3em;
width:189px;
padding:8px 0 8px;
text-align:center;
color:#fff;
text-transform:uppercase;
letter-spacing:-1px;
}
.menu li.active a,
.menu > li > a:hover {color:#000}
解决方案
什么问题?<INPUT>
不显示中文?你的字体是英文的啊:font-family:Arial, Helvetica, sans-serif;
解决方案二:
乱码?还是什么问题呢?看你的css并没有限制中文输出,你设置了中文字体
解决方案三:
只是中文字体优先级不高,可以放到最前面试试:
body {font-family:楷体,宋体,微软雅黑,Arial, Helvetica, sans-serif; font-size:100%; color:#333; min-width:960px; background:#f1f1f1}
解决方案四:
问题是什么呢?报错吗