View Full Version : Creating ScrollBoxes In dreamwever 8
Hiya been trying to figure how to do this, is there anyone outhere who can tell me how to create a scrollbar box within a website? The contents of the box will have button (links) connecting to my work and so forth. So if anyone can shed light on this would really appreciate it thanks.
danlefeb
02-02-2007, 09:42 PM
A scrollbar box? You mean a textbox, a scrolling DIV or an iFrame? Each have different purposes, but for a simple scrolling box the best thing is a DIV probably.
//This goes in your CSS file
#scrolling_div {
overflow: auto;
width: xx;
height: xx;
}
//This goes in your HTML where you want the DIV to go
<div id="scrolling_div">Your content here</div>
Set the height and width to whatever you want - the overflow will scroll.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.