Reputation: 31709
i'm trying to give the same width to the text and password inputs.
So i write this:
input[type="text","password"]{
width: 138px;
}
But it doesn't work.
Any help?
Regards
Javi
Upvotes: 5
Views: 3740
Reputation: 2389
How about?
input[type="text"],
input[type="password"]{
width: 138px;
}
Upvotes: 3
Reputation: 5834
How about:
input[type="text"], input[type="password"]
{
width: 138px;
}
or you use classes/ids:
input.text, input.password
{
width: 138px;
}
Upvotes: 16