CSS TEXT-DECORATION - CSS3 Examples

CSS TEXT-DECORATION

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

Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ CSS TEXT-DECORATION ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :