普通文字分散
效果:
https://sandbox.runjs.cn/show/pfadwcwp
代码 :
<div class="test1">
十年前你说生如夏花<i></i>
</div>
<div class="test2">
十年后你说平凡才是唯一的答案
</div>
div{
border: 1px solid #f0f;
color: #fff;
300px;
margin-top: 10px;
}
.test1 {
text-align:justify;
}
.test1 i {
display:inline-block;
100%;
/*padding-left: 100%;*/
}
.test2 {
text-align:justify;
}
.test2:after {
content: "";
display:inline-block;
padding-left:100%;
}
表格中 内文字分散对齐
<td>
添加如下属性即可
text-align:center;
text-align:justify;
text-justify:distribute-all-lines;
text-align-last:justify;
【推广】
免费学中医,健康全家人
原文地址:https://www.cnblogs.com/52liming/p/8654259.html
-
推荐文章
-
大二上每日总结
-
大二上每日总结
-
大二上每日总结
-
大二上每日总结
-
大二上每日总结
-
Interesting Finds: 2008.08.02~2008.08.04
-
Interesting Finds: 2008.07.29
-
Interesting Finds: 2008.08.06~2008.08.12
-
Interesting Finds: 2008.07.30~2008.08.01
-
Interesting Finds: 2008.09.10~2008.09.14
-
Interesting Finds: 2008.08.13~2008.08.21
-
Interesting Finds: 2008.08.22~2008.08.26
-
Interesting Finds: 2008.08.27~2008.08.29
-
Interesting Finds: 2008.08.30~2008.09.08
-
Interesting Finds: 2008.07.24
-
8月23号
-
8月25号
-
8月24号
-
有3个集合, 从其中一个集合中删除同时存在于另外两个集合的元素
-
sp_executesql介绍和使用
-
关于通过web页面删除数据记录的设计改进
-
python 正则表达式用法
-
每日日报
-
每日日报
-
每日日报
-
每日日报
-
每日日报
-
每日日报
-
每日日报
-
每日日报
<td>
添加如下属性即可
text-align:center;
text-align:justify;
text-justify:distribute-all-lines;
text-align-last:justify;
【推广】
免费学中医,健康全家人
原文地址:https://www.cnblogs.com/52liming/p/8654259.html
- 推荐文章
- 大二上每日总结
- 大二上每日总结
- 大二上每日总结
- 大二上每日总结
- 大二上每日总结
- Interesting Finds: 2008.08.02~2008.08.04
- Interesting Finds: 2008.07.29
- Interesting Finds: 2008.08.06~2008.08.12
- Interesting Finds: 2008.07.30~2008.08.01
- Interesting Finds: 2008.09.10~2008.09.14
- Interesting Finds: 2008.08.13~2008.08.21
- Interesting Finds: 2008.08.22~2008.08.26
- Interesting Finds: 2008.08.27~2008.08.29
- Interesting Finds: 2008.08.30~2008.09.08
- Interesting Finds: 2008.07.24
- 8月23号
- 8月25号
- 8月24号
- 有3个集合, 从其中一个集合中删除同时存在于另外两个集合的元素
- sp_executesql介绍和使用
- 关于通过web页面删除数据记录的设计改进
- python 正则表达式用法
- 每日日报
- 每日日报
- 每日日报
- 每日日报
- 每日日报
- 每日日报
- 每日日报
- 每日日报