Prev | Current Page 153 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

2+ Saf3+ FF1.5+ IE7
FULL FULL FULL NONE
Example
The following example will apply the rule
to all input elements that are currently
enabled:
input:enabled {
?‹® declarations
}
This pseudo-class matches user
interface elements that are enabled. An
element is enabled when it can be
activated or can gain focus??”this usually
means the element can be selected,
clicked on, or accept text input.
Compatibility
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.
:disabled
:disabled {
declaration block
}
This pseudo-class matches user
interface elements that are disabled. An
element is disabled when it can??™t be
activated or accept focus??”this often
means the element can??™t be selected, be
clicked on, or accept text input,
although it could do so if it was in an
enabled state.
SPEC
CSS3
BROWSER SUPPORT
Op9.


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