ckny
03-15-2008, 11:13 PM
I am using CSS to define a textbox style.
Here's the code:
.loginbox {
font-size: 14px;
height: 18px;
background-color: #CCC;
border: 1px solid #000;
}
I am using two of them next to each other - one for username and one for password. The password one has the type set to "password". it is shorter in height than the one set to "text". If I change it's type to text then it becomes the same size. Is there any way around this?
Here's the code:
.loginbox {
font-size: 14px;
height: 18px;
background-color: #CCC;
border: 1px solid #000;
}
I am using two of them next to each other - one for username and one for password. The password one has the type set to "password". it is shorter in height than the one set to "text". If I change it's type to text then it becomes the same size. Is there any way around this?