Users Pricing

forum

home / developersection / forums / css for multiple attributes?

CSS for multiple attributes?

Anonymous User 2261 11 Mar 2013

Hi Everyone!

I'm trying to consolidate the following:

input[type="text"] {
    width: 300px;
}
input[type="password"] {
    width: 300px;
}
Into something like this:

input[type="text"][type="password"] {
    width: 300px;
}
I tried this, type="text", "password", and a few other things.

Thanks in advance!


I am a content writter !


1 Answers