Html CSS使文本左对齐并同时对齐

Html CSS使文本左对齐并同时对齐,html,css,text,text-align,Html,Css,Text,Text Align,有没有办法让文本同时左对齐和对齐?意思是左对齐。有没有办法做到这一点?感谢您的帮助。对齐文本始终是“左对齐和右对齐”。左对齐表示文本的左边缘对齐。对齐文字表示文字的左边缘和右边缘对齐。所以“左对齐并对齐”和“对齐”没有区别,所以你的问题对我们来说没有任何意义 左对齐: Four-score and seven years ago, our fathers brought forth on this continent a new nation, conceived in liberty, a

有没有办法让文本同时左对齐和对齐?意思是左对齐。有没有办法做到这一点?感谢您的帮助。

对齐文本始终是“左对齐和右对齐”。

左对齐表示文本的左边缘对齐。对齐文字表示文字的左边缘和右边缘对齐。所以“左对齐并对齐”和“对齐”没有区别,所以你的问题对我们来说没有任何意义

左对齐:

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.
右对齐:

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.

也许您正在尝试实现其他类型的对齐?

对齐意味着文本在两侧对齐。但是,文本的最后一行仍将位于左侧或右侧

所以

左对齐

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.
                                                           |
左对齐

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.
                                                           |
右对齐

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的这个链接会有所帮助,不过:

这是一个图像,它有左对齐(左上)和右对齐(右上)文本

要获得左对齐文本,可以使用
text align:justify在你的css中

在最新版本的Chrome和IE中,您可以使用css将文本对齐,最后一行左对齐。我不确定老浏览器是如何处理的


Photoshop中有4种对齐文本,完全对齐或最后一行左对齐、居中对齐或右对齐,但浏览器似乎只支持左对齐。对于从右向左的语言,它们可能有右对齐的文本

您可能正在寻找最后一行的左对齐:

  text-align: justify;
  text-align-last: left;

同时对齐和左对齐的文本是什么样子的?它与正确对齐的文本有何不同?它和不左对齐的文本有什么区别?我想让css文本左对齐,同时对齐对齐。这可能吗?我们无法理解你所说的“同时左倾和辩护”是什么意思。你能贴一张照片,说明你期望它是什么样子吗?我想你不明白“证明”是什么意思。“对齐”文本是左对齐和右对齐的,因此说你想要左对齐是没有意义的。你是对的,你不能用css来实现这一点,但是你的例子中的差异是非常清楚的。这应该是正确的答案这应该是正确的答案,不知道
text align last
属性