CSS3.com


CSS TEXT-DECORATION

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.

Examples
p { text-decoration: underline }
Possible Values
inherit: Explicitly sets the value of this property to that of the parent
none: Defines a normal text
underline: Defines a line under the text
overline: Defines a line over the text
line-through: Defines a line through the text
blink: Defines a blinking text


Go Back