To create a scrolling text box within a page:
- This is how you create a text box within a page.
To create a scrollable text box. Scrollbar windows are dependent on the size of text. This text box is 400 pixels wide; 100 pixels high. You can change the size of the text box by changing the height and width number. Just drop the code below into any dialog box and add your content where it says "Enter your text here".
We are creating lots of text so you can see what this box will look like if you have a lot of text.
- The code that created the box above is:
<div style="height:100px;width:400px;overflow:scroll;">
Enter your text here
</div>