<div style=”width:500px, height:600px, overflow=auto”> </div>
That line of code will set the div to 500 x 600 and if the content of the div exceeded that size, the div will become scrollable automatically. The parameter responsible for this effect is: overflow=auto