Skip to main content

Fri, Oct 24, 2014 8:25 PM


How do I create a scrolling text box

If you want to add text, but you don't want the text box to grow as large as the text, then you will have to use HTML code.  This code will create a fixed size box that will have a scroll bar on the right.  You can change the height and width in the code to suit your needs.

<div style="height:120px;width:120px;border:1px solid #ccc;font:16px/26px Georgia, Garamond, Serif;overflow:auto;">
As you can see, once there's enough text in this box, the box will grow scroll bars... that's why we call it a scroll box! You could also place an image into the scroll box.

This conversation is no longer open for comments or replies and is no longer visible to community members.


No Responses!