0

ios下字体大小不一致?

Posted in IOS at 八月 28th, 2013 / No Comments »

代码如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style type="text/css">
 
.b{
	font-size:12px;line-height: 20px;height:20px;
}
 
.a{
	font-size:12px;line-height: 20px;height:auto;
}
</style>
 
</head>
<body>
<br />
<div class="a">向德国法律标准致敬向德国法律标准致敬向德国法律标准致敬。</div>
<p>
 
 
<br />
<div class="a">向德国法律标准致敬向德国法律标准致敬向德国法律标准致敬。</div>
<p>
 
 
<br />
<div class="b">向德国法律标准致敬向德国法律标准致敬向德国法律标准致敬。</div>
<p>
 
 
 
</body>
</html>

第三行的字体大小比上面两行小,为什么?

Published in IOS
Tags:

No Responses to “ios下字体大小不一致?”

Leave a Reply

请输入算式结果(看不清请点击图片)
(必须)