Difference between revisions of "CSS GUIDE TEXT DECORATION"

From CDOT Wiki
Jump to: navigation, search
(Syntax)
(Legal Values)
Line 12: Line 12:
  
 
== Legal Values ==
 
== Legal Values ==
none
+
<table border="0">
underline
+
<tr>
overline
+
<td>'''none'''</td><td>''Specifies that no text decoration is to be used.''</td>
line-through
+
</tr>
blink
+
<tr>
 +
<td>'''underline'''</td><td>''Underlines text.''</td>
 +
</tr>
 +
<tr>
 +
<td>'''overline'''</td><td>''Places a line over the text.''</td>
 +
</tr>
 +
<tr>
 +
<td>'''line-through'''</td><td>''Places a line(strike) through the text.''</td>
 +
</tr>
 +
<tr>
 +
<td>'''blink'''</td><td>''Causes the text to blink.''</td>
 +
</tr>
 +
</table>
  
 
== Mozilla Recommended Values ==
 
== Mozilla Recommended Values ==

Revision as of 14:03, 22 November 2006

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

noneSpecifies that no text decoration is to be used.
underlineUnderlines text.
overlinePlaces a line over the text.
line-throughPlaces a line(strike) through the text.
blinkCauses the text to blink.

Mozilla Recommended Values

Usage Examples

Notes

Specification Conformance

Browser Compatibility

See Also