Difference between revisions of "CSS GUIDE TEXT DECORATION"
(→Usage Examples) |
(→Specification Conformance) |
||
Line 43: | Line 43: | ||
== Specification Conformance == | == Specification Conformance == | ||
+ | [http://www.w3.org/TR/REC-CSS1#text-decoration CSS 1]<br /> | ||
+ | [http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-decoration CSS 2.1 ]<br /> | ||
+ | CSS 3<br /> | ||
== Browser Compatibility == | == Browser Compatibility == | ||
== See Also == | == See Also == |
Revision as of 13:10, 22 November 2006
Contents
Summary
The text decoration property is used to set text decoration (formatting) like bold, underline, italics etc.
- Applies to: all
- Inherited: no
- Percentages: N/A
- Media: visual
- Computed value: as specified
Syntax
TARGET_ELEMENT{text-decoration: value ;}
Legal Values
none | Specifies that no text decoration is to be used. |
underline | Underlines text. |
overline | Places a line over the text. |
line-through | Places a line(strike) through the text. |
blink | Causes the text to blink. |
Mozilla Recommended Values
Usage Examples
p{text-decoration: line-through;} p{text-decoration: underline;}