添加滚动条,内容多时显示,内容少时隐藏 CSS样式: <style type="text/css"> .scroll{ overflow-x:auto; overflow-y:auto; height:800px; } </style>