Forum Moderators: open

Message Too Old, No Replies

Look like a scrolling frame while not using frames...

Trying to create a scrolling window on a "regular" page.

         

theadvocate

2:37 pm on Jan 25, 2004 (gmt 0)

10+ Year Member



Hi folks,

Can anyone please direct me on how to create a scrolling window without using frames?

I am trying to restrict the size of the information window on a particular website, so it needs to be able to scroll up and down when the information is larger than the table or cell size.

For example, say the center table which contains the information is 600 pix wide by 400 pix high, yet I have a full page of information that needs to be displayed.

I need a scrolling tab on the right of the window so people can scroll down and read the rest of the text, and I need to do so without using any frames.

Hopefully that makes sense ;)

Birdman

4:08 pm on Jan 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I believe you can use CSS to acclomplish that.

Try this:

<div style="width:?; height:?; overflow: scroll;">
<p>scrolling text here</p>
</div>

Notes: Replace the (?) above with real values like (100px). Also, using auto in place of scroll should do the same thing.

theadvocate

4:11 pm on Jan 25, 2004 (gmt 0)

10+ Year Member



Hi Birdman,

Thanks for that, especially since it is CSS, which I prefer.

I will give it a try.

theadvocate

8:12 pm on Jan 25, 2004 (gmt 0)

10+ Year Member



.