Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: incrediBILL

Scroll Bars

how to make an inside scroll bar.

   
1:07 am on Jul 27, 2001 (gmt 0)

10+ Year Member



I would like to know how to add a scroll bar inside of your site. So you can have a box, and instead of it being a super long rectangle, it would have it's own scroll bar inside of it, which only scrolls the contents of the box. If that is possible and you know how, please tell me. Thanks.
1:27 am on Jul 27, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi simon - welcome to WMW

are you talking about IFRAMES? I think so - here's the code:

<IFRAME src="http://www.whaterver..." width="xxx" height="yyy" scrolling="auto" frameborder="1"></IFRAME>

8:00 am on Jul 27, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can also have the content of div tags scrolling with the overflow style.

<div style="overflow:scroll">
scrolling content
</div>

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month