CSS3 text-justify 属性

实例

改变字与字之间的间距使得每行对齐:

div { text-align:justify; text-justify:inter-word; }


尝试一下 »


浏览器支持

表格中的数字表示支持该属性的第一个浏览器版本号。

属性
text-justify 不支持 5.5 不支持 不支持 不支持

属性定义及使用说明

text-justify属性指定文本对齐设置为"justify"的理据。

此属性指定应怎样对齐文本以及对齐间距。

默认值: auto
继承: yes
版本: CSS3
JavaScript 语法: object.style.textJustify="inter-word"


语法

text-justify: auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|trim;

<

猜你喜欢

转载自blog.csdn.net/shengyin714959/article/details/132962496