文本对齐对齐,但在右边? [英] Text-align justify but to the right?
本文介绍了文本对齐对齐,但在右边?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们要使text-align:对齐,以获取列的所有宽度,但它应从右侧开始。
有没有办法用css或某种方式来实现?
We want to make text-align:justify, to take all the width of the column, but it should start from the right side. Is there any way to make it with css or somehow?.
编辑:
如建议
http://jsfiddle.net/dVbJr/33/
.text {
text-align: justify;
direction:rtl;
}
工作,但它有标点符号问题。
works, but it has punctuation issue.
SOLVED
<span style="float:right">...</span>
最后附加的内容已经解决了标点符号问题。
感谢大家的努力!我会接受第一个答案。
This to be attached in the end has solved the punctuation issue. Thanks for effort though to everyone! I shall accept the first answer then.
推荐答案
我相信你可能会这样想:
I believe you might want something like this:
direction:rtl;
text-align:justify;
示例: http: //jsfiddle.net/aew75/
这篇关于文本对齐对齐,但在右边?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文