B.117. text-underline-position

This nonstandard property, supported by Internet Explorer for Windows version 5.5 or later, controls whether underlines are drawn above or below text inside the selected element(s). This property is designed for use with Asian languages and other vertical writing systems.

For this property to have a visible effect, an affected element (or one of its children) must have its text-decoration property set to underline.

Inherited: Yes

See also: Section B.110text-decoration

B.117.1. Value

This property will accept either of these two constant values:

  • auto or auto-pos: The underline is drawn above the text if the language is set to ja (Japanese) and writing-mode is set to tb-rl.

  • above: The underline is drawn above the ...

Get HTML Utopia: Designing Without Tables Using CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.