Home Menu

text-underline-offset

The text-underline-offset CSS 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)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms