Forum Moderators: open

Message Too Old, No Replies

password field longer than any others in ie6

is this a user setting or, a version problem

         

knotworking

10:48 pm on Feb 21, 2005 (gmt 0)

10+ Year Member



I'm setting up my form with all text fields with a size of "11". Included in my fields is a password field that is of the same length. I have checked my form in several different browsers and several versions of IE.

Here's my problem: in one version of IE, the password field appears longer than all the other fields. The PC I'm viewing it on is running IE6.28 spk1. If I change the field to a text, it is the same length as all the others.

Has anyone else encountered this? Is there a solution that would force the password field to appear at the proper length?

Purple Martin

4:25 am on Feb 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've never noticed it myself (but then I've never looked for it), it sounds like a curious IE "feature".

You can set the width of fields to a fixed or relative value using CSS, for example:

width: 11em;

This should set the field to the width of eleven "m" characters in the current font.

knotworking

5:54 am on Feb 22, 2005 (gmt 0)

10+ Year Member



yes, I think it may be a strange bug in this version of IE. I've noticed it on several other sites using this PC, I wonder why it's happening.

CSS- that's the only way to go IMO