Pseudo-element: first-line

Support Key: [CSS1|CSS2] [IE5.5B1|N6|O3.5]
Other CSS
Pseudo-Elements

before
after
first-letter
= Index DOT Css by Brian Wilson =
Main Index | Property Index | CSS Support History | Browser History



   Quick Statistics   
Applicable Elements:
Block-level elements
HTML Equivalent:
NA
What is it?
This pseudo-element is used to apply properties to the first rendered line of a block element structure on the output device (browser screen, printer, etc.) This pseudo-element does not actually exist as part of the document tree - it is a "fictional tag sequence" that is logically deduced from many factors including font size, page and block width, as well as content language, etc. It is similar in behavior to an in-line element, but restrictions are placed on its behavior (see Notes below.)
Example
Ext/Doc: p:first-line { margin-left: 0.5in }
In-Line:  NA
Notes Browser Peculiarities

Boring Copyright Stuff....