text-wrap 文字换行
指定文字换行的模式。
语法:
{ text-wrap: sTextWrap }
| 默认值: |
normal |
| 继承性: |
是 |
| DOM 语法: |
object.style.textWrap =sTextWrap |
| 适用于: |
所有元素 |
| 浏览器支持: |
|
可能的值
normal | unrestricted | none | avoid
| 值 |
描述 |
| normal |
在允许的换行处换行。换行行为在Unicode Standard Annex #14
Line Breaking Properties中进行定义。 |
| unrestricted |
换行可能发生在2个不可分割的词语(grapheme cluster)之间。(a grapheme cluster is a sequence of characters that need to be kept together for things like wrapping text at the end of a line, cursor movement, delete, etc.) |
| none |
不换行,文字在容器内显示不了时,溢出容器的外面。 |
| avoid |
取消文字内的换行。如果没有其他有效的换行点,浏览器进行换行。 |
本属性最后更新时间:2011-3-19 21:33:59
|
|