Home  >  Article  >  Web Front-end  >  html 感觉汉字高低大小不一致,大家帮忙看看_html/css_WEB-ITnose

html 感觉汉字高低大小不一致,大家帮忙看看_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:39:161543browse



大家看看这个姓名是不是高低大小不一致啊?为什么呢?

js展示代码如下:
for ( var i = 0, l = resultList.length; i  var info = resultList[i];
var trBody = [
'

',
' + '\')" style="cursor:pointer">' + info.name
+ '',
'' + info.pkId + ''];


body.append(trBody.join(''));
}


回复讨论(解决方案)

= =真的有么....?

应该是一边大的。  就是有的表格太大了  感觉不一边大

看一下字体设置,这应该是一种英文字体,之前懒,下了一个国外的模板,只汉化模板就出现这种情况,最后把定义的所有字体样式删了,只在body中定义了一下,就全正常了

看一下字体设置,这应该是一种英文字体,之前懒,下了一个国外的模板,只汉化模板就出现这种情况,最后把定义的所有字体样式删了,只在body中定义了一下,就全正常了



正解,我换了字体就对齐了。
原代码:font-family: "Microsoft YaHei", 微软雅黑, "Microsoft JhengHei";
新代码:font-family: "STSong";
效果如图:

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn