text-underline-position

important note重要訊息:

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

設定值,該值指出是否要產生省略符號 (...) 來表示文字溢位。

語法

{ text-underline-position: iUnderlinePosition }

可能的值

iUnderlinePosition

指定值的字串,該值指出當文字內容超出指定之版面配置區域時,是否會顯示省略符號 (...)。

auto

當文字溢位時顯示省略符號 (...)。

alphabetic

讓底線對齊英文字母的基準線。

under

讓底線對齊元素之全形字框的下邊緣。

over

讓底線對齊元素之全形字框的上邊緣。

備註

此屬性通常只適用於採直式書寫方向的文件,例如日文。

標準資訊

您可以在 CSS Selectors Level 3 (CSS 選取器層級 3) Gg721788.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, input type=button, input type=file, input type=password, input type=radio, input type=reset, input type=submit, input type=text, li, ol, p, s, select, span, sub, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var, xmp

另請參閱

概念

text-decoration