我希望我的文本的最后一句话是右对齐的(文本的其余部分是合理的)。
我在标签<span>
中间尝试了以下内容,但没有成功:<p>
span.activity-conclusion
{
font:22px 'Open Sans', "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight:200;
text-align:right;
color:#467FD9;
}
<div>
这就是文本所在的 CSS 代码:
#activity-right {
font:12px 'Open Sans', "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight:400;
padding-left:25px;
padding-top:20px;
height: 100%;
color:#000;
width: 60%;
float: left;
position: relative;
text-align:justify;
border-left: 1px dotted #666;
-moz-column-count: 1;
-moz-column-gap: 1.5em;
-moz-column-rule: 1px solid #c4c8cc;
-webkit-column-count: 1;
-webkit-column-gap: 1.5em;
-webkit-column-rule: 1px solid #c4c8cc;
}