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:
-----------------------------------------------------
<form action="no_permission.php" method="post">
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td align="center" valign="middle"><div align="center"><strong><font color="#000000">Username:</font></strong></div></td>
<td align="left" valign="middle"><div align="left">
<input name="username" type="text" class="FormBx" id="username" size="12"<?php if(isset($_POST['submit'])) echo " value=\"".$_POST['username']."\"" ?>>
</div></td>
</tr>
<tr>
<td align="center" valign="middle"><strong>Password:</strong></td>
<td align="left" valign="middle"><input name="password" type="password" class="FormBx" id="password" size="12"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<th align="center" valign="middle" scope="col"><div align="center">
<input name="submit" type="submit" class="formbutton" id="submit" value="Log In">
</div></th>
</tr>
</table>
<br>
<?php
if (isset($_POST['submit']) && !empty($message))
echo $message."<p>";
?>
</form>
-----------------------------------------------------
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..
Mark