...

View Full Version : different size with the same value



marian26
05-11-2007, 05:46 PM
In IE I get different sizes for the same value of the user input ( wider ) and the password input . It's a login form and I use a size of 20 for both inputs.
How can I fix this ?

coothead
05-11-2007, 06:03 PM
Hi there marian26,

How can I fix this ?
Use CSS to set the dimensions.

coothead

marian26
05-11-2007, 06:11 PM
Thanks a lot, I'd used id for both inputs and added in the css file :
#user_input, pass_input {
width:140px;
}

It's ok ?

VIPStephan
05-11-2007, 06:16 PM
Thatís OK. However, note that you have a typo in your CSS. You forgot the number sign (#) in front of the second selector (#pass_input). Thatís why it probably doesnít work.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum