Here is the code I am working with:
<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;
}
I want to vertically align it, and interestingly Firefox and Chrome already do this (as well as IE9). However, in IE8 or 7, it appears at the top. How can I achieve vertical alignment using CSS?