有没有办法让文本左对齐并同时证明?意思是左对齐。有什么办法可以做到这一点?感谢帮助。
问问题
25090 次
5 回答
20
您可能正在寻找最后一行的左对齐:
text-align: justify;
text-align-last: left;
于 2017-04-06T11:57:28.120 回答
10
左对齐意味着文本的左边缘对齐。对齐文本意味着文本的左边缘和右边缘都对齐。所以“左对齐和对齐”与“对齐”没有什么不同,所以你的问题对我们没有任何意义。
左对齐:
Four-score and seven years ago, our fathers
brought forth on this continent a new nation,
conceived in liberty, and dedicated to the
proposition that all men are created equal.
有理:
Four-score and seven years ago, our fathers
brought forth on this continent a new nation,
conceived in liberty, and dedicated to the
proposition that all men are created equal.
右对齐:
Four-score and seven years ago, our fathers
brought forth on this continent a new nation,
conceived in liberty, and dedicated to the
proposition that all men are created equal.
也许您正在尝试实现其他类型的对齐?
于 2012-07-02T02:25:34.143 回答
7
两端对齐意味着文本在两边对齐。但是,文本的最后一行仍将位于左侧或右侧。
所以...
左对齐
Lorem Ipsum is simply dummy text of the printing and |
typesetting industry. Lorem Ipsum has been the industry's |
standard dummy text ever since the 1500s, when an unknown |
printer took a galley of type and scrambled it to make a |
type specimen book. |
左对齐
|
Lorem Ipsum is simply dummy text of the printing and
typesetting industry. Lorem Ipsum has been the industry's
standard dummy text ever since the 1500s, when an unknown
printer took a galley of type and scrambled it to make a
type specimen book. |
|
右对齐
|
Lorem Ipsum is simply dummy text of the printing and
typesetting industry. Lorem Ipsum has been the industry's
standard dummy text ever since the 1500s, when an unknown
printer took a galley of type and scrambled it to make a
type specimen book.
|
我过去没有用过这个,所以我不能 100% 确定你想要的这种特殊行为是否被 CSS 支持。不过,我认为 W3Schools 的这个链接会有所帮助: http: //www.w3schools.com/cssref/css3_pr_text-justify.asp
于 2012-07-03T03:45:36.773 回答
3
两端对齐的文本总是“左右两端对齐”。
于 2012-07-02T02:15:35.743 回答