Prev | Current Page 167 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

Firefox appears to
have implemented the original CSS2 specification.
In Firefox 1.5 and 2, this pseudo-element doesn??™t work for fieldset elements.
In Opera 9.2, whitespace is always displayed within this pseudo-element as if it??™s
preformatted text??”like whitespace in an HTML
 tag.
Other Relevant Stuff
content (p. 348)
inserts content before or after an element
SPEC
CSS3
BROWSER SUPPORT
Op9.2 Saf1.3+ FF2 IE7
NONE PARTIAL NONE NONE
::selection
::selection {
declaration block
}
Example
A selector like textarea::selection will
match any user-selected text within a
textarea element.
This CSS3 pseudo-element represents
a part of the document that??™s been
highlighted by the user, including text
in editable text fields. Only a small
subset of CSS properties can be used in
rules that apply to this pseudo-element;
user agents must allow the background and color properties to be used, and can
Selector Reference
115 Selector Reference
optionally allow the use of the cursor and outline properties.


Pages:
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179