In the code snippet provided, I am encountering an issue where the browser window scrolls instead of the specified div with overflow-y: scroll when minimizing the browser window. How can I ensure that scrolling occurs within the div itself without making changes to the body element?
<div style="overflow-y: scroll;">
line<br/>
line<br/>
line<br/>
line<br/>
line<br/>
line<br/>
</div>