Support Key: [CSS1|CSS2|CSS2.1] [IE5.5B1|N6|O3.5|S1]
= Index DOT Css by Brian Wilson =
Main Index | Property Index | CSS Support History | Browser History
What Are They?
Pseudo-elements allow logical elements to be defined which are not actually in the document element tree. Logical elements allow implied semantic structure to be addressed in CSS selectors, giving more power to the CSS author. Pseudo-elements can also address generated content that is not in the source document (with the 'before' and 'after' pseudo-elements.) Pseudo-elements may only be applied to external and document-level contexts - not to in-line styles.

CSS2 notes a few syntax caveats about pseudo-elements:
Ext/Doc: [element]:[pseudo-element] { property: value }
CSS Pseudo-Elements
before [CSS2|CSS2.1] [N6|O4|S1]
Addresses content that occurs before an element
after [CSS2|CSS2.1] [N6|O4|S1]
Addresses content that occurs after an element
first-letter [CSS1|CSS2|CSS2.1] [IE5.5B1|N6|O3.5|S1]
Indicates the first rendered letter/character for a block-level element
first-line [CSS1|CSS2|CSS2.1] [IE5.5B1|N6|O3.5|S1]
Indicates the first rendered line on the output device of a block-level element

Boring Copyright Stuff....