Welcome to WebmasterWorld Guest from 54.196.144.100

Forum Moderators: incrediBILL

Message Too Old, No Replies

Scroll Bars

how to make an inside scroll bar.

     

simon marini

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.

oilman

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>

joshie76

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>