input内文字垂直居中问题(兼容ie&ff),等待中!
<style type="text/css">
<!--
input {
text-align:center;
height:400px;
line-height:400px;
width:200px;
vertical-align:middle;
margin-right: auto;
margin-left: auto;
margin-top: auto;
margin-bottom: auto;
background:url("IMG.JPG") #fff no-repeat center;
}
-->
</style>
<body style="text-align: center">
<input>
</body>
该文本框高度设置为400px,希望其背景图和输入文字都垂直水平居中。而现在在ie里效果正常,在ff中图片正常,input的文字只能水平居中,如何才能垂直也居中?请教!