Oddly sized sized password textbox

T

thechaosengine

Hi all,

Can anyone tell me why, when I use an asp:textbox control with its text mode
set to "password" the textbox appears to be a couple of characters shorter
than all the others on the page? This is a problem when having a username
and password combination with one above the other as the difference in width
is quite noticeble.

Can anyone tell me how to get around this. I'm sure it must be something
silly.

I'm using IE 6 btw along with Visual Studio 2005 but I'm sure this problem
occurs in other browsers and in ASP.net 1.1 as well

Thanks to anyone who can advise

Kindest Regards

TC
 
D

David Hearn

Just set the width property on the textbox to match the other boxes on your
form.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,830
Latest member
ZADIva7383

Latest Threads

Top