1

Topic: CSS: input for text type only

How to define one type of input like "text" not for all inputs?

input {
    width: 12em;
   }
If your people come crazy, you will not need to your mind any more.

2

Re: CSS: input for text type only

You have to give them a class e.g. <input type="text" class="text">. You can do it (I think) in Firefox and Opera using attribute selectors but they don't work in IE.

3

Re: CSS: input for text type only

I meant "attribute selectors" but not work in all browser,
i will use <input type="text" class="text">

thanks a lots.

If your people come crazy, you will not need to your mind any more.