Share via


text-decoration-line

Important

This documentation is preliminary and subject to change.

Specifies which line decorations should be applied to the element.

Syntax

{ text-decoraton-line:sLine }

Possible values

sLine

String that specifies the following values:

noneNo text decoration is applied.
underlineText is underlined
overlineText has a line above it.
line-throughText has a line through it

Standards information

This property is defined in CSS Text Level 3 Gg721770.xtlink_newWindow(en-us,Expression.40).png..

Applies to

a, address, b, big, blockquote, body, button, caption, center, cite, code, col, colgroup, custom, dd, defaults, dfn, div, dl, dt, em, fieldset, form, hn, html, i, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, li, ol, p, s, span, sub, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var, xmp

See also

Concepts

text-decoration
text-decoration-color
text-decoration-skip
text-decoration-style
text-outline
text-shadow
text-underline-position

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.