I think overflow-y:auto
is the one your after
What Overflow do I use in CSS to scroll vertically
题
I'm getting mixed up with my overflow and I just wanted to be put in the right direction.
解决方案 2
其他提示
You need to use the overflow-y:
Try something like this:
<div id="yourDiv" style="overflow-y:scroll;height:400px">
不隶属于 StackOverflow