Prev | Current Page 154 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

2+ Saf3+ FF1.5+ IE7
FULL FULL FULL NONE
Example
The following rule will apply to all input
elements that are currently disabled:
input:disabled {
?‹® declarations
}
105 Selector Reference
Compatibility
Selector Reference
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full Full None None Full Full None None None None
This pseudo-class is currently only supported in Safari 3, Firefox 1.5 and up, and
Opera 9.2 and up.
:checked Pseudo-class
:checked {
declaration block
}
This pseudo-class matches elements
like checkboxes or radio buttons that
are checked or toggled to the ???on??? state.
In HTML, this state corresponds to the
selected and checked attributes.
Compatibility
Example
The following rule will apply to the
element that has an id of "confirm" (for
example, a checkbox) when that element
has been checked:
#confirm:checked {
?‹® declarations
}
SPEC
CSS3
BROWSER SUPPORT
Op9.2+ Saf3+ FF1+ IE7
FULL FULL FULL NONE
Opera Safari Firefox Internet Explorer
9.


Pages:
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166