Him*_*ini 14
您可能正在寻找最后一行的左对齐:
text-align: justify;
text-align-last: left;
Run Code Online (Sandbox Code Playgroud)
左对齐意味着文本的左边缘是对齐的.对齐文本意味着文本的左边缘和右边缘都是对齐的.所以"左对齐和合理"与"合理"没有什么不同,所以你的问题对我们没有任何意义.
左对齐:
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.
Run Code Online (Sandbox Code Playgroud)
理由:
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.
Run Code Online (Sandbox Code Playgroud)
右对齐:
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.
Run Code Online (Sandbox Code Playgroud)
也许你正试图实现其他一些对齐方式?
小智 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. |
Run Code Online (Sandbox Code Playgroud)
左对齐
|
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. |
|
Run Code Online (Sandbox Code Playgroud)
右对齐
|
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.
|
Run Code Online (Sandbox Code Playgroud)
我过去没有使用它,所以我不能100%确定你是否支持CSS所支持的特定行为.我认为W3Schools的这个链接会有所帮助,但是:http://www.w3schools.com/cssref/css3_pr_text-justify.asp