Page 1 of 1

Make a div keep with the user as they scroll

Posted: Thu Feb 08, 2007 8:56 pm
by Skara
Ok, I don't know much javascript. I don't normally need it. So.

I have a portfolio page that scrolls horizontally.
I have a 'back' button and an unobtrusive copyright that I want to scroll with the user.

So.. As the user scrolls the page right, the div keeps with them on the left of the page.

That make sense?

I don't need anything fancy, I just want to know how to make the div move. For the life of me, I can't find anything on google. Everything I can find is some big fancy menu thing.

Posted: Sun Feb 11, 2007 9:58 am
by RobertGonzalez
I think it has something to do with position: fixed and a top: <somevalue> and left: <somevalue> in your CSS.