网页中添加一个区域,带有滚动条 #userinfo { overflow-y: scroll; position: absolute; top: 15px; bottom: 15px; 90%; min-height: 300px; }