Forum Moderators: not2easy

Message Too Old, No Replies

Scrolling within a DIV ... possible?

         

PatrickKerby

4:20 pm on Jun 24, 2004 (gmt 0)

10+ Year Member



Hello, just curious if it would be possible to have a scrolling div? so.. a fixed height with scrollbar...

wait... this is sounding much like an iframe...
hm.

well, either way... anyone know if possible?

DrDoc

4:40 pm on Jun 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You're absolutely right... Fixed height, then set the overflow property to auto (which will cause scrollbars to appear when the content is bigger than the height).

PatrickKerby

5:03 am on Jun 25, 2004 (gmt 0)

10+ Year Member



Thanks!

Im just realizing this is a solution to a problem I had a few weeks ago..
I had an ifram with an anchor on the html page within the iframe... because of how it was setup, I could not link to that anchor and keep it within the iframe froma seperate page.. using this method should solve that no problem..

thanks again!