html:
<div class="wrapper">
<div class="left">你订单咋咋十号是好的多多多多多多多多多多多多多多多多多多多多多多多多多多多多</div>
<div class="right">苟富贵</div>
</div>
css:
.wrapper {
overflow: hidden;
}
.left {
float: left;
width: 200px;
background-color: red;
margin-bottom: -3000px;
padding-bottom: 3000px;
}
.right {
margin-left: 210px;
background-color: green;
padding-bottom: 3000px;
margin-bottom: -3000px;
}
margin和padding的值取决于内容的最大高度,比如高度无论如何都不会超过2000px,则margin-bottom:-2000px;padding-bottom:2000px