I need help with scrollbar

I’m just starting out with html and css and javascript so I probably made an easy error somewhere. I’m wanting to scroll my content within the box without it leaving the box area. my issue is I can’t figure out how to make it cut off right at the top line. Thanks for anyone willing to lend a helping hand.

On that content div, set overflow: auto

is there a way to adjust the width and positioning of it? and hide the scrollbar that appears with it? Thanks for the reply

If you want to hide the scrollbar, set overflow: hidden

Set width and height of your div.

thanks a lot for the help =D