Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

2.1.1.24 text-underline-position

textunderlineposition of type DOMString, read/write

Sets or retrieves the position of the underline decoration that is set through the textDecoration property of the object. This property has a default value of auto. The other possible values are above, below, and auto-pos.

text-underline-position

Value:

[ auto | above | below | auto-pos ]

Initial:

auto

Applies to:

All elements

Inherited:

yes

Percentages:

N/A

Media:

visual

Computed value:

As specified

Values have the following meaning:

auto

Decoration appears above the text if the lang attribute is set to ja, which is the language code abbreviation for Japanese, and the -ms-writing-mode attribute is set to tb-rl, which causes vertical inline text progression. If not, the decoration appears below the text.

above

Decoration appears above the text.

below

Decoration appears below the text.

auto-pos

Same as auto.

Show:
© 2015 Microsoft