text-underline-position | NN n/a IE 5.5(Win) CSS n/a |
Inherited: Yes | |
Controls whether an underline (i.e., an element with a text-decoration style set to underline) is rendered above or below the text. Applicable primarily to Asian languages rendered in vertical columns. |
|
CSS Syntax | |
text-underline-position: positionType | none
|
|
Value | |
IE 5.5 recognizes two constant values: above | below. IE 6 adds the values auto and auto-pos (which appear to do the same thing). The default value also changed between versions, from below to auto. In IE 6, the auto value underlines vertical Japanese text "above" (to the right) of the characters. |
|
Initial Value | |
none |
|
Example | |
h2 {text-underline-position: above} |
|
Applies To | |
All elements. |
|
Object Model Reference | |
[window.]document.getElementById("elementID").style.textUnderlinePosition
|