<div class="col-10 content" id="content">
<ul>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
<li>News</li>
</ul>
</div>
.content
{
overflow:auto;
overflow-x:hidden;
height:96%;
width:100%;
}
Hello there! I recently created a Div with a collection of news items. My goal is to have the Div scroll while keeping the header and left menu fixed in their positions. Currently, the Div only scrolls when the mouse pointer is inside it, but I want it to scroll continuously regardless of cursor position and have the scrollbar hidden. I've tried various approaches without success. Any suggestions on achieving this without fixing all other elements?
Thank you, Markus