Prev | Current Page 164 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


In Internet Explorer 6, this pseudo-element fails if it??™s not immediately followed by
whitespace. This means that whitespace must appear between the pseudo-element
and the declaration block, as well as between the pseudo-element and the comma,
if the pseudo-element isn??™t the last selector in a group of selectors.
In Internet Explorer versions up to and including 7:
?–  This pseudo-element doesn??™t work when it??™s used on a positioned element that
has a layout (p. 158).
?–  This pseudo-element acts like a block element??”it spans the entire width of the
containing block instead of displaying inline (p. 166).
?–  The list-item marker is included within this pseudo-element.
?–  Bizarre specificity and inheritance problems affect this pseudo-element.18
18 You can find some examples of this behavior at http://www.satzansatz.de/cssd/pseudocss.html.
SPEC
CSS2
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE7
BUGGY FULL PARTIAL NONE
Example
In this example, the text ???You are here:??? is
rendered before the document element with
the id value of "breadcrumbs", and given
a right margin value of 0.


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