text-decoration-style

important note重要訊息:

本文件為初步資訊而且可能隨時變更。

指定套用至元件之線條裝飾的樣式。

語法

{ text-decoraton-style:sStyle }

可能的值

sStyle

指定下列值的字串:

none預設值。不論 border-width 為何,不繪製框線。
dashed框線是由破折號組成的虛線。
dotted框線是由點組成的虛線。
double框線是繪製在物件背景上方的雙線。兩條單線之寬度與兩條單線之間空白的總和等於 border-width 的值。框線寬度至少必須是 3 像素,才能繪製雙框線。
groove根據值繪製彩色的 3D 立體內凹。
inset根據值繪製彩色的 3D 內凹。
outset根據值繪製彩色的 3D 外凸。
ridge根據值繪製彩色的 3D 立體浮凸。
solid框線是實線。

此屬性的預設值為 none 。這不是繼承屬性。

標準資訊

您可以在 CSS Backgrounds and Borders Level 3 (CSS 背景與框線層級 3) Gg721769.xtlink_newWindow(zh-tw,Expression.40).png 找到此屬性的定義。

適用範圍

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

另請參閱

概念

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