[thelist] Style a Disabled Input

Hershel Robinson hershelr at netvision.net.il
Wed Oct 29 13:52:44 CST 2003

> : I would like to apply a style to disabled input boxes. I found
> : online a method using CSS3, but it does not work for me in Win 2K
> : IE6. 
> : 
> : My doctype is
> : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> :     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> : 
> : Does anyone know how I can apply a style to disabled inputs?
> : 
> : Thank you.
> apply a class or id and use the appropriate selector.  currently
> the only cross browser way of styling specific input types.

One of us is confused here. The selector for an input is:


But that CSS selector does NOT override the default behavior of a DISABLED
input. That is what I want to do--apply a unique style to DISABLED inputs.


More information about the thelist mailing list