text-decoration

Support Key: [CSS1|CSS2] [IE3B1|N4B2|O3.5]
Other Text Properties
word-spacing
letter-spacing
white-space
word-wrap
text-align
text-align-last
text-transform
text-shadow
text-indent
text-underline-position
= Index DOT Css by Brian Wilson =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
none
Applicable Elements:
All
Inherit From Parent:
No (see below)
Applicable Media:
Visual
HTML Equivalent:
<u> | <s> | <strike> | <blink>
What is it?
This property describes the appearance characteristics of text that are not specified with the 'font-style' and 'font-weight' properties. The color of the text-decoration is taken from the 'color' property for the element. The characteristics of this property ARE used by child elements if the parent element is set to block. If this property is specified for an element/section containing no text (like the IMG element) or is empty, this property has no effect. Browsers may treat unknown values as underline.

Allowed Values
inherit
[CSS2] [N6|O7]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
none
[CSS1|CSS2] [IE3B1|N4B3|O3.5]
Type: Explicit
Description:
This adds no decoration to the section.
underline
[CSS1|CSS2] [IE3B1|N4B2|O3.5]
Type: Explicit
Description:
The text in the section will be underlined.
overline
[CSS1|CSS2] [IE4B1|N6|O3.5]
Type: Explicit
Description:
The text in the section should have a line at the top of the text.
line-through
[CSS1|CSS2] [IE3B1|N4B2|O3.5]
Type: Explicit
Description:
The text in the section will have a line through the middle (strikethrough text.)
blink
[CSS1|CSS2] [N4B2|O4]
Type: Explicit
Description:
The text in the section blinks.
Example
Ext/Doc: strong { text-decoration: overline }
In-Line:  <strong STYLE="text-decoration: overline">this is a test</strong>
Notes Browser Peculiarities

Boring Copyright Stuff....