Hi,
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
Hi,
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
How about:
input[type="text"], input[type="password"]
{
width: 138px;
}
or you use classes/ids:
input.text, input.password
{
width: 138px;
}
How about?
input[type="text"],
input[type="password"]{
width: 138px;
}
Please refer to the Attribute selectors in W3C Specification. The selector does not have any formats that support multi-value. To solve the problem, you may follow faileN's answer.