HBCMS更多的中文手册参考:

textDecorationOverline参数属性

DHTML文档教程

Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn over it.

dhtml语法

HTMLN/A
Scriptingobject.style.textDecorationOverline [ = bOverline ]

DHTML可能的值

bOverlineBoolean that specifies or receives one of the following values.
trueA line is drawn over the text.
falseA line is not drawn over the text.

The property is read/write. The property has no default value. The Cascading Style Sheets (CSS) attribute is not inherited.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

DHTML代码范例

This example uses the textDecorationOverline property to 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>

是否符合公共标准

There is no public standard that applies to this property.

Applies To

A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, CUSTOM, DD, defaults, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FORM, hn, HTML, I, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, runtimeStyle, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP

更多语法参考

textDecoration