<div id="lt">1</div> <div id="rt">2</div>#lt{ float:left;width:100px;background:yellow; } #rt{ overflow:hidden;background:yellowgreen; }最终效果图展示:如果我的内容对你有帮助,欢迎打赏