【发布时间】:2014-01-15 13:44:47
【问题描述】:
这是我的测试(精简到最低限度)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<style type="text/css">
.file-form-active-inputs { margin-left : 2px; }
</style>
<title></title>
</head>
<body>
<form>
<input type="file" name="_206_0_100070" size="60" id="HASH(0x331b400)" class="form-active-inputs">
<button class="file-form-active-inputs">
Button with same height as 'browse' button to the left
</button>
</form>
</body>
</html>
有什么办法可以匹配按钮高度
到 IE7-8 输入 type="file" "browse" 按钮高度?
【问题讨论】:
-
当然,我不想重新设置整个上传控件的样式,而是使用一些特定于 IE 的 css hack 来做我想做的事情。
标签: css internet-explorer internet-explorer-8 internet-explorer-7