【发布时间】:2011-09-06 12:01:04
【问题描述】:
我想做的是这样的:
1 2 3 4 5
6 7
8 9 10 11
使用此代码:
<div style="text-align: justify;">
1 2 3 4 5
<br>
6 7
<br>
8 9 10 11
</div>
但它不起作用,并显示如下:
1 2 3 4 5
6 7
8 9 10 11
【问题讨论】:
-
相关:Justify the last line of a div? 您可以将这些行明确标记为
divs,并使用该问题中的技巧来证明它们的合理性。
标签: css text-alignment justify