View Full Version : fixed positioning css2 scroll bar help
moscarda
04-14-2007, 06:47 PM
i'm working on a 3 column website. i'm trying to figure out how to have one column scroll down (using the browser's scroll bar on the right), while keeping the other two columns and the header static at the top. i've seen this on sites like this (http://www.nice-design.co.uk), using div tags, but it's all over my head. can someone please break this down nice and simple for me?
Ryan Fait
04-14-2007, 09:55 PM
You're looking for the CSS property, position: fixed;
moscarda
04-14-2007, 10:07 PM
yes i know, but im a newbie and need some more help getting started. is there a tutorial to do this kind of thing anyone can point me to?
Ryan Fait
04-14-2007, 10:09 PM
Sorry for being so vague! Um, I don't know any tutorials on that particular subject.
Here are a few good layout sites:
http://css.maxdesign.com.au/
http://newguyinennis.com/samples/layouts/
And of course:
http://w3schools.com/css/
If you add position: fixed; to a header or column, it will stay in the same spot regardless of scrolling. I think there are some problems with it in IE, but I can't remember; I never use the fixed value.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.