首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >文本对齐: justify-all是什么?

文本对齐: justify-all是什么?
EN

Stack Overflow用户
提问于 2017-04-15 22:25:27
回答 1查看 5.5K关注 0票数 5

在css中,属性text-align: justify-all是做什么的?在MDN上,他们认为这也证明了最后一行的内容是正确的。但我在我的chrome浏览器中看不到任何变化:

代码语言:javascript
复制
<p style="text-align: justify-all">
one two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four five
</p>

EN

回答 1

Stack Overflow用户

发布于 2017-04-15 22:35:36

检查一下W3C规范,似乎没有任何主流浏览器https://www.w3.org/International/tests/repo/results/text-align支持它。

您可以尝试text-align-last。它确实支持浏览器,但它不是很好的http://caniuse.com/#feat=css-text-align-last

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43427205

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档