Password fields in IE smaller than other fields

You create a new registration / login form. In all browsers except Internet Explorer all fields appear exactly the same size. In IE however password fields are smaller (shorter) than all other fields.

Most likely reason why password fields are smaller in IE is different font used in different types of fields.

To resolve, simply add following code to you Cascading Style Sheets .css file:

input {
        font-family: sans-serif;               
}

Obviously you can use any other font size.

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait