【发布时间】:2012-02-01 08:51:18
【问题描述】:
我删除了很多文本、按钮等,所以这个 html 页面看起来很简单。我还是不明白,为什么IE6.0不显示文字“在IE6.0中不加粗。为什么?”大胆? 谢谢。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Test</title>
<style>
input[type='text'], input[type='password'], input[type='button'], input[type='submit'], input[type='file'], textarea {
font-size:16px;
font-weight:bold;
}
</style>
</head>
<body>
<input style="font-size:16px; font-weight:bold;" value="bold" type="text">
<input type="text" value="not bold in IE6.0. Why?">
</body></html>
【问题讨论】:
标签: css internet-explorer text input cross-browser