Document
* {
margin: 0;
padding: 0;
}
div.justify {
text-align: justify;
width: 200px;
font-size: 15px;
color: rgb(46, 36, 36);
border: 1px solid rgb(199, 199, 230);
height: 18px;
}
div.justify>span {
display: inline-block/* Opera */
;
padding-left: 100%;
}
hello, text justify.
hello, text 1 justify.
中 文 两 端 对 齐
中 文 两 端 对 齐
$(function(){
setTimeout(function() {
//$("#box1").css("height","");
$("
p标签
"," span标签").appendTo($("#box1"));}, 2000);
})
一键复制
编辑
Web IDE
原始数据
按行查看
历史