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.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *