CSS hide scroll bar if not needed
.selected-elementClass{
overflow-y:auto;
}
You can use overflow:auto;
You can also control the x or y axis individually with the overflow-x
and overflow-y
properties.
Example:
.content {overflow:auto;}
.content {overflow-y:auto;}
.content {overflow-x:auto;}
Set overflow-y
property to auto
, or remove the property altogether if it is not inherited.