I am trying to figure out how I can hide the overflow-y:scroll; if not needed. What I mean is that I am building a website and I have a main area which posts wi
overflow-y:scroll;
You can use overflow:auto;
overflow:auto;
You can also control the x or y axis individually with the overflow-x and overflow-y properties.
overflow-x
overflow-y
Example:
.content {overflow:auto;} .content {overflow-y:auto;} .content {overflow-x:auto;}