Text vs. Password Input Size

liunx

Guest
I am putting together a form:<br />
<br />
User Name:<br/><br />
<input class="tfield" type="text" size="15" name="username"/><br/><br />
Password:<br/><br />
<input class="tfield" type="password" size="15" name="username"/><br />
<br />
They both have a size="15", yet in IE6 the input length is shorter, yet in Mozilla 1.3, Opera 7, and NS7 they are all the same length. Any way to get them to be the same length.<br />
<br />
Keep in mind this is being written in XHTML, I mention that because if I don't encapsulate the 15 ( size=15 ) they are the same length, only then the page won't validate.<br />
<br />
Thank you for your advice.<!--content-->Ok, that's what I thought, just wasn't sure if I was doing something wrong or something.<!--content-->
 
Back
Top