Open main menu

CDOT Wiki β

Changes

CSS GUIDE TEXT DECORATION

615 bytes added, 04:22, 23 April 2009
m
Reverted edits by Janejoe (Talk) to last version by Sherman
== Summary ==
The text decoration property is used to set text decoration (formatting) like boldunderline, underlineblink, italics line-through etc.
* Applies to: all
== Syntax ==
<pre>TARGET_ELEMENT{text-decoration: ''value'' ;}</pre>
== Legal Values ==
<table border="0"><tr><td>'''none'''</td><td>''Specifies that no text decoration is to be used.''</td></tr><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 ==
== Usage Examples ==
<pre>
p{text-decoration: line-through;}
 
p{text-decoration: underline;}
</pre>
== Notes ==
== 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 ==
== See Also ==
3
edits