problem with form boxes in IE |
| |
|
|
|
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" />
|
|
| |
|
|
|
Code Guru Gender:  Posts: 1399 Topics: 85
|
|
|
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
|
|
| |
|
|
|
Code Guru
Location: India
Gender:  Posts: 1387 Topics: 105
|
|
|
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.
|
|
| |