textDecorationLineThrough property
[This documentation is preliminary and is subject to change.]
Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn through it.
Syntax
textDecorationLineThrough: VARIANT_TRUE | VARIANT_FALSE
Property values
VARIANT_TRUE-
Apply the line-through.
VARIANT_FALSE-
Prevent the line-through.
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Examples
This example uses the textDecorationLineThrough property to draw a line through the text when the user clicks it with the mouse.
<P onclick="this.style.textDecorationLineThrough=true;"> Click this if you think it's unimportant. </P>
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
DLL |
|
See also
Build date: 3/14/2012