Written by jon on 8:15 AM
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.
Example |
p {text-decoration: underline} |
|
|
Possible Values |
Value Description 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 |
|
|

| Posted in »
CSS Text
Related Posts by Categories
0 comments: Responses to “ CSS TEXT-DECORATION ”