Password form field different size?

They have: 32 posts

Joined: Nov 2003

Hello everyone,

I am running into a problem I don't recall having before. For some reason when I make the input type "password" (to make the text entered in asterisks instead of text) on my password field it will no longer match the the lenght of the "username" field. Below is my form:

-----------------------------------------------------

Username:

Password:

<?php
       
if (isset($_POST['submit']) && !empty($message))
            echo
$message."<p>";
       
?>

-----------------------------------------------------

If I try to change the password field length to 13 it is barely shorter and if I change it to 14 it is longer then the username field. I just can't get them to line up with the password field set to use the asterisks. If I remove the password asterisks and change the field to "text" they, of course, line up fine.

Thanks in advance for your help as this is driving me a bit crazy.. Confused

Mark

They have: 32 posts

Joined: Nov 2003

Actually, I finally figured it out. Adding a style to the form field using fixed size fonts worked. Smiling

Example:

style="font: 10px/11px courier;"

Don't know why it took me so long to remember that!Sad

Mark

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.