text-decoration-style

Important

This documentation is preliminary and subject to change.

Specifies the style for line decorations that are applied to the element.

Syntax

{ text-decoraton-style:sStyle }

Possible values

sStyle

String that specifies the following values:

noneDefault. Border is not drawn, regardless of any border-width.
dashedBorder is a dashed line.
dottedBorder is a dotted line.
doubleBorder is a double line drawn on top of the background of the object. The sum of the widths of the two single lines and the space between them equals the border-width value. The border width must be at least 3 pixels wide to draw a double border.
groove3D groove is drawn in colors based on the value.
inset3D inset is drawn in colors based on the value.
outset3D outset is drawn in colors based on the value.
ridge3D ridge is drawn in colors based on the value.
solidBorder is a solid line.

This property has a default value of none. It is not inherited.

Standards information

This property is defined in CSS Backgrounds and Borders Level 3 Gg721769.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-style
text-outline
text-shadow
text-underline-position

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