css - 初学者 : Justify Text

标签 css text justify

<分区>

我是一名初学者,正在完成一项类作业,在尝试证明我的一个网站中的文本合理时遇到了一些困难。

如果有人能帮助我,我将不胜感激!

HTML:

<div class="about__entry sm-two-thirds">
    <p>We believe in the power of authentic and genuine music, not manufactured artists. We believe in the freedom of music, expression, and creativity. We aim to give artists tools that will empower them to make the music they love and give them the ability to take their careers into their own hands.</p>
</div><!-- end .about__entry -->

CSS

.About__entry {
    text-align: justify;
    text-justify: inter-word;
    text-align-last:center;
}

最佳答案

CSS 区分大小写,例如类名。

About__entry != about__entry

关于css - 初学者 : Justify Text,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38732080/

上一篇:html - html中中心标签的替代标签?

下一篇:html - 图像忽略 Div 容器

相关文章:

r - 如何使用R将频率转换为文本?

html - CSS:导航对齐

javascript - 显示 :none; displays 'none' in browser

jquery - HTML 元素的定位和滑动

javascript - 在滚动上滑动 Div

c# - 如何在文档末尾插入文本

javascript - 银纹 + 无限 Ajax 卷轴 : None Left keeps being added to page

c++ - 读取 Unicode 文件

html - 对齐并居中 &lt;textarea&gt; 文本 HTML/CSS?

r - 数据帧上的 format(..., justify = "left") 是否也会左对齐列名称?