For div, you can add in cSS
overflow: auto
For example,
<div style = "overflow: auto; height: 500px"> Some really long text </div>
Edit: After viewing the site you published, you probably don't want this. What he does on his website makes the layout fixed (position: fixed) and assigns it a higher z index than text, which is a lower z-index.
For example:
<div class = "highz"> // Put random stuff here. it'll be fixed </div>
<div class = "lowz"> Put stuff here you want to scroll and position it. & lt / div>
with css file
div.highz {position: fixed; z-index: 2;} div.lowz {position: fixed; z-index: 1;}
apandit
source share