jonthomas83
06-05-2007, 02:07 PM
1. Hi guys I would like to place a strip of content across the entire width of a web page and would like to center it vertically.
Imagine a 400px rectangle height x 100% width across the center of the page with white space auto above and below.
Any ideas how to do this?
I've tried to display it as a block and I've tried auto margins on the top and bottom but no luck whatsoever.
2. I would also like to create a fixed size scrollable div where the scrollbar only appears on the right hand side and not along the bottom. I've tried all ways but even though the bottom scroll bar is inactive it still shows.
Is there any way to get rid of it?
Many thanks
Jonathan
Imagine a 400px rectangle height x 100% width across the center of the page with white space auto above and below.
Any ideas how to do this?
I've tried to display it as a block and I've tried auto margins on the top and bottom but no luck whatsoever.
2. I would also like to create a fixed size scrollable div where the scrollbar only appears on the right hand side and not along the bottom. I've tried all ways but even though the bottom scroll bar is inactive it still shows.
Is there any way to get rid of it?
Many thanks
Jonathan