CSS Attributes Index Text Attributes
Sets or retrieves whether the text in the object has a line drawn over it.
HTML |
N/A |
Script |
object.style.textDecorationOverline = bOverline ] |
true |
A line is drawn over the text. |
false |
A line is not drawn over the text. |
The property is read/write with no default value.
The following example will draw a line over the text when the user moves the mouse over the text.
<P onmouseover="this.style.textDecorationOverline=true;">
Mouse over this text for an overline.
</p>
textDecoration