Pseudo-element: before

Support Key: CSS2
Other CSS

= Index DOT Css by Brian Wilson [] =
Main Index | Property Index | CSS Support History | Browser History

   Quick Statistics   
Applicable Elements:
HTML Equivalent:
What is it?
The :before pseudo-element specifies generated content that will occur before an element's document tree content (there is also a companion :after Pseudo-element for placing generated content after an element.) This Pseudo-element is used in conjunction with the 'content' property to specify what is to be inserted. Generated content is not a new concept - it already plays an important role in the list mechanisms of HTML; in CSS it has the potential to be very useful in Aural and other rendering media as well.

There are several rules governing the behavior of generated content and :Before Pseudo-elements:
Ext/Doc: em:before { content: url("ding.wav") }
In-Line:  NA
Notes Browser Peculiarities

Boring Copyright Stuff....