View Full Version : Scrollable Content

11-29-2006, 07:00 AM
1) Script Title: Scrollable content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/scrollc.htm

3) Describe problem: Hi, I am designing a site, and I need an area to move a lot of information. Ie, what this dynamic drive script does. HOWEVER I don't want the left-right scroll to appear. Tones of sites have them, ie http://www.skize.com/tweaks/scrollable-content-boxes.php. It has their design, and underneath it has the one I want... I cant find it anywhere, even though it might have a very easy answer.

Thanks, Daniel

11-30-2006, 10:15 AM
Hi holden89,
The limits to the content of the box are set by;

<div id="scroll3" style="width:170px;height:150px;background-color:lightyellow;overflow:scroll">

If you increase the width to accommodate the text/content then the left-right scrollbar wil not appear. The same is true for the height. For a full description of the CSS overflow see;


For more control over your text content ( for the box ), use <p> and maybe with a style class - <p class="my_style">

Hope this helps.