mar*_*zzz 9 html css internet-explorer
我有这个代码:
<input type="text" class="contactInput" value="my string">
.contactInput
{
border:0;
margin:0;
padding:0;
background-color:#000000;
color:#ffffff;
height:22px;
width:290px;
padding-left:5px;
}
Run Code Online (Sandbox Code Playgroud)
我想垂直对齐它.Firefox和Chrome会自动执行(如IE9).IE8或7位于顶部.
我怎么能用CSS做到这一点?
| 归档时间: |
|
| 查看次数: |
13030 次 |
| 最近记录: |