textDecorationtextDecoration*
*Contents  *Index  *Topic Contents
*Previous Topic: textAlign
*Next Topic: textDecorationBlink

textDecoration

Description

Sets or retrieves whether the text in the element has blink, line-through, overline, or underline decorations.

Syntax

object.style.textDecoration[ = textDecoration]

Remarks

Internet Explorer 4.0 supports the keyword blink but does not render the blink effect.

If the element has no text (for example, the IMG element in HTML) or is an empty element (for example, "<EM> </EM>"), this property has no effect.

The property has read/write permission.

Applies To

HTML Tags A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, DD, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, HTML, I, INPUT, INPUT type=button, INPUT type=file, INPUT type=reset, INPUT type=submit, INPUT type=text, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
Scripting style

CSS Attribute

text-decoration


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.