|
Posted by gerg on 12/16/05 09:04
Jukka K. Korpela wrote:
> gerg <noemail@noemail.com> wrote:
>
>
>><input class="loginform" name="user" type="text" size="10">
>><input class="loginform" name="pass" type="password" size="10">
>>
>>Both have a size of 10, however the password field in IE looks smaller
>>than the regular field.
>
>
> Really? Not here.
>
> Wait... wait... on Windows XP, there is a _one pixel_ difference in the
> widths. It's probably a design mistake in IE, so and maybe they'll fix it.
> Maybe you can submit a bug report
>
>
>> Any work around this? Is this an IE problem?
>
>
> Is this a problem, seriously? Whose problem? You are setting up login form,
> not creating a piece of art, right?
>
> But of course there are solutions and workarounds:
>
> - Use input type="text" for both. This may improve security, and it surely
> improves usability.
>
> - Set explicit width, e.g. (CSS code)
> input.loginform { width: 6em; }
>
> - Set the font to monospace, which is a good idea anyway and seems to
> magically make the one-pixel difference vanish:
> input.loginform { font-family: Courier New, monospace; }
>
>
Thanks for your response! I agree, it's just a login form, but I'm
incredibly anal. (insert dirty joke here) little things like that really
bother me. I was setting the size in the form, but once I changed it to
6em, as stated above, they looked great. You also stated that
changing both inputs to text improves security? I thought the whole
idea behind a password field was to stop people from looking over your
shoulder and getting your password? How would changing them both to
text improve usability or security? Again, thanks for your help.
Greg
Navigation:
[Reply to this message]
|