![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
On 2008-11-04, shapper <mdmoura (AT) gmail (DOT) com> wrote: Hello, I would like to change the look of disabled inputs of type text on my web site. Should I add a disabled css class to all these inputs or is it possible to select them in my CSS Code ... ... not using an ID or a class ... There's a :disabled pseudo-selector, but it's CSS 3. You could try and it see if it works. |
#12
| |||
| |||
|
|
How does one declare the version of CSS one is using? I've searched all over the the answer, and finally gave up. |
#13
| |||
| |||
|
|
Ben C wrote: On 2008-11-04, shapper <mdmoura (AT) gmail (DOT) com> wrote: Hello, I would like to change the look of disabled inputs of type text on my web site. Should I add a disabled css class to all these inputs or is it possible to select them in my CSS Code ... ... not using an ID or a class ... There's a :disabled pseudo-selector, but it's CSS 3. You could try and it see if it works. How does one declare the version of CSS one is using? I've searched all over the the answer, and finally gave up. |
#14
| |||
| |||
|
|
How does one declare the version of CSS one is using? |
#15
| |||
| |||
|
|
Ben C wrote: On 2008-11-04, shapper <mdmoura (AT) gmail (DOT) com> wrote: Hello, I would like to change the look of disabled inputs of type text on my web site. |
|
Should I add a disabled css class to all these inputs or is it possible to select them in my CSS Code ... ... not using an ID or a class ... There's a :disabled pseudo-selector, but it's CSS 3. You could try and it see if it works. |
|
How does one declare the version of CSS one is using? I've searched all over the the answer, and finally gave up. |
#16
| |||
| |||
|
|
pecan wrote: How does one declare the version of CSS one is using? For validation purposes, the W3C validator gives you a choice under "more options". For browsers, you don't. Browsers render per their own capabilities, which you cannot control. If there are conflicting specs between different CSS versions, all you can do is test in the most used browsers, and decide what works best overall. For example, the width property was required for floats in CSS 2.0, but is optional in 2.1. The only browser I know of that follows 2.0 in this case is Mac IE5, but that's a dead browser so who cares? |
#17
| |||
| |||
|
|
The only browser I know of that follows 2.0 in this case is Mac IE5, but that's a dead browser so who cares? |
![]() |
| Thread Tools | |
| Display Modes | |
| |