【发布时间】:2014-01-10 23:22:04
【问题描述】:
基本上我得到了一个包含很多内容的 div,例如:
<div>
top of content </br>
some content </br>
some content </br>
some content </br>
some content </br>
some content </br>
some content </br>
some content </br>
bottom of content
</div>
然后,我为 div 设置一个高度,然后溢出,所以它会“裁剪”div。像这样:
<style>
div{
height:100px;
overflow:hidden;
}
</style>
我想做的是,div 将显示内容的结尾,而不是顶部。
谢谢!
【问题讨论】: