Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

problem with form boxes in IE

 
webmaster forum
kmoore  Offline
Activity
0%
 
New Coder
Posts: 20
Topics: 20
July 23, 2009, 11:27:49 PM

I have a login box for my site. The text box's size look alike when seen through firefox or netscape. However when I use IE one of the boxes appear bigger than the other. Do you know how to tackle this problem?
Here is the html code for the text boxes. You can see that I use the same size "25" for both the text boxes.

<input type="text" name = "user" size="25" maxlength="50" />
<input type="password" name = "password" size="25" maxlength="50" />
 
webmaster forum
polas  Offline
Activity
33.33%
 
Code Guru
Gender: Male
Posts: 1399
Topics: 85
WWW
July 24, 2009, 04:50:57 AM

lol, that is the mystery of IE - maybe someone else can give a concrete answer, but you may need to live with it. Just check it is not part of a table etc stretching/squashing the box

Mesham Type Oriented Parallel Programming Language, Free online technical support
 
webmaster forum
Admin  Offline
*
 
Code Guru
Location: India
Gender: Male
Posts: 1387
Topics: 105
NaviBuster NaviBuster
WWW
July 28, 2009, 02:52:26 AM

Try using a external CSS class for the input boxes and use 'width' in the CSS class in stead of giving direct 'size' property to the boxes in the HTML itself.

 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page January 26, 2012, 04:16:11 AM