CSS3.com


CSS TEXT-UNDERLINE-POSITION

Sets or retrieves the position of the underline decoration that is set through the textDecoration property of the object.

The auto and auto-pos values apply to this property as of Internet Explorer 6. The default value of this property is auto as of Internet Explorer 6. With Internet Explorer 5.5, the default value of this property is below.

Examples
p { text-underline-position: above; text-decoration: underline }

content


Possible Values
inherit: Explicitly sets the value of this property to that of the parent.
length: Defines a fixed indentation.
%: Defines an indentation in % of the width of the parent element.


Go Back