The line-height property usually takes care of vertical alignment, but not with inputs. Is there a way to automatically center text without playing around with padding?
input[type=text] { height: 15px; line-height: 15px; }
this is correct way to set vertical-middle position.