Page 1 of 1

scrolling page

Posted: Mon Oct 02, 2006 8:59 pm
by aceconcepts
Hi,

I want to be able to create a web page that consists of content that appears in the center of the screen, both horizontally and vertically measuring about 700px in width and 500px in height.

My question is, how can i allow users to scroll the content and not the entire page?

here is an example of something that is kind of what i mean: http://www.roseneath.co.uk/meetteam.htm

Posted: Mon Oct 02, 2006 9:14 pm
by Christopher
It is done with a <div> tag. If you view the source of that page you can find the code.

Posted: Mon Oct 02, 2006 10:30 pm
by Burrito
hint: look at the overflow property.

Posted: Tue Oct 03, 2006 9:00 am
by SpecialK
As a warning that I've seen done with other sites.

Some people DO have those old computers that still use 640x480.

Don't place any content that is important at the bottom of the page because with setting div scrolling sometimes you aren't able to use the normal scrollbar anymore(I've seen this done,http://www.artofadambetts.com/weblog/ but haven't done that myself). This site it's worse since it won't work with 800x600 if you want to go with the monthly archives.[/url]

Posted: Tue Oct 03, 2006 10:32 am
by aceconcepts
Thanks to all of you for your help. I have been able to create exactly what i was hoping to create.

Much more straight forward than i thought it would be!

Thanks again.