I'm seeking a solution to enable scrolling within a div container that can scroll both horizontally and vertically.
body {
height: 100%;
width: 100%;
overflow: hidden;
}
.wrapper {
width: 75%;
padding: 0px 5px 0px 8px;
top: 20px;
white-space: nowrap;
position: relative;
margin-left: 3px;
margin-right: 5px;
overflow: hidden;
height: 100%;
}
.content {
height: 100%;
overflow: scroll;
}
<div class="wrapper">
<div class="content">
<p>(Content goes here)</p>
</div>
</div>
I am currently encountering three specific issues:
- The scrollbar is non-functional
- The horizontal scrollbar is not visible
- The scrollbar is overlapping other elements on the page