Code for creating a html div scrollbox?

Posted by Kmandapalli under JavaScript category on | Points: 40 | Views : 885
<div style="width:150px;height:150px;line-height:3em;overflow:auto;padding:5px;">
This 'div' element contains more content than the previous one. Because there's too much text to fit into the box, the box grows scrollbars.

Comments or Responses

Login to post response