PDA

View Full Version : adding a scroll bar..



Fall0ut
21 Mar 2007, 12:04 PM
ok here is a picture of were i need the scroll bar



http://img.photobucket.com/albums/v315/YuriK/helpmeplz.jpg



ut I dont know how to make it. Any web designers help me out please lol because this is very important to me.

Wickham
21 Mar 2007, 02:16 PM
Make a container div for the central part of your page with a width and height and overflow: scroll.

<div style="width: 700px; height: 500px; overflow: scroll;">............</div>

If you only want a vertical scrollbar then the code is overflow-y: scroll; overflow-x: hidden;
or overflow-y: scroll; overflow-x: auto which will make a horizontal scrollbar only if required.

http://www.wickham43.supanet.com/tutorial/scrollingdivs.html