Menu Samaritan's Purse

TEXT-UNDERLINE-OFFSET

The text-underline-offset property sets the offset of underlines from their zero position.

SYNTAX

CSS

text-underline-offset: value;

JS

object.style.textUnderlineOffset = "value";

VALUES

<'text-underline-offset'> = auto | <length> | <percentage>
auto

Automatically specified by the user agent.

<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

INITIAL

auto

EXAMPLES

AUTO

LENGTH

PERCENTAGE

JS

INTERNAL

text-underline-position

EXTERNAL

World Wide Web Consortium (W3C)