overflow 设置滚动条 div { 150px; height:150px; overflow:scroll; } overflow: 详细见: http://www.w3school.com.cn/cssref/pr_pos_overflow.asp