Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I was created a simple login screen using ASP.NET, there is only 2 textbox, 1 username and 1 password.

 

I Found that the length of these 2 textbox are not same, so it may look ugly in my login screen. Anyone face the same problem with me?

 

I think it is cause by browser, not ASP.NET, because I try to create a simple HTML file and run directly without IIS, it still result the same. When I change to Netscape 7, 2 textbox (1 of them is type password) look nice - same size.

 

Is it Microsoft mistake? as a web developer, what should I do? since most of the people use Internet Explorer nowadays...

  • *Experts*
Posted

It seems to be that if you specifically specify the fonts of the textboxes,

they will be the same size. Assuming you are using standard <input>

tags,

	<input type="text" size="20" style="font: 10pt Courier New" name="user"><br>
<input type="password" size="20" style="font: 10pt Courier New" name="password">

That works for me.

Posted

My source is simple:

 

<FORM method="post">

<INPUT type="text" name="txtName"><BR>

<INPUT type="password" name="txtPassword">

</FORM>

 

I did not use any CSS or other....

 

I am using WindowsXP and I found that the same thing run in Windows 2000 (with same browser IE6.0) is no problem.

 

Anyone use WindowsXP and IE6? I was tried 2 PCs with this configuration and the problem are same.... So, are they anyone use WindowsXP and IE6 and did not face this problem? please help!

Posted

Actually I did use Style in my development. I removed my Style because this problem occurs, my purpose is to find out what cause of this problem.

 

Finally.... you can see, I only use this simple HTML and the problem still appear. And currently I guess the problem arise from WindowsXP and IE6....

 

So, Anyone got the same problem with me?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...