0
我想让水平很多文本与div对齐,因此您可以水平滚动它们。没有真正经历过,我想不出什么我做错了..通过水平滚动水平通过
这里是我的CSS:
#content {
font-size: 18px;
text-align: justify;
display: inline-block;
vertical-align: middle;
overflow-x: auto;
height: 70%;
margin-top: 15%;
margin-bottom: 15%;
}
.item {
width: 50%;
max-height: 70%;
margin-bottom: 30px;
margin-top: 100px;
margin-left: 25%;
margin-right: 25%;
overflow: scroll;
}
谢谢!
请在JSFiddle上进行演示。 – str
需要HTML ... – Ani