|
Posted by Jukka K. Korpela on 12/16/05 08:54
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; }
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Navigation:
[Reply to this message]
|