1 out of 1 rated this helpful - Rate this topic

:disabled pseudo-class

[This documentation is preliminary and is subject to change.]

Applies one or more styles to the form control element that is disabled.

Selectors Level 3, Section 6.6.4.1

Syntax

selector :disabled {...}

Parameters

selector

A CSS simple selector

Standards information

Remarks

The :disabled pseudo-class is a UI element states pseudo-class. UI element states pseudo-classes select UI elements (form controls such as radio buttons or check boxes) that are in a certain state—enabled, disabled, or selected (checked).

See also

Reference
:enabled
:checked
:indeterminate

 

 

Build date: 3/13/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Fieldsets should be targetable via :disabled selector
<fieldset>, <button> and <input> elements are included in the form.elements collection, as per the spec.
<fieldset>, <button> and <input> elements can be disabled, as per the spec.
BUT, in IE9, <fieldset> can't be targeted by the :disabled selector. Fix this.
adobe flash
cannot fine active X cannot downlad adobe flash!