【发布时间】:2010-12-12 02:16:24
【问题描述】:
我这里有一个基本网页http://www.webdevout.net/test?0V,转载如下
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style type="text/css">
body { font-size: 12px;}
</style>
<title>Test</title>
</head>
<body>
<p>test</p>
<form action="/foo" method="get">
<fieldset>
<input type="text" value="bar" />
</fieldset>
</form>
</body>
</html>
当我使用 firebug 检查页面时,文本“test”是预期的 12px,但输入中的文本“bar”是 11px,我希望它是 12px。请问这是怎么回事?
【问题讨论】: