View Full Version : Scrolling div . . .
Sorry for such a stupid question, but I could not find the answer. *clears throat* How do you make a div tag move up and down when the page is scrolled?
Thanks for your immense patience!
Veronica
06-15-2007, 08:09 PM
Do you mean, how to make a div always stay in the same position on the screen, even when you scroll the page?
You can use Javascript like this: http://www.dynamicdrive.com/dynamicindex10/topmsg.htm
Or, the css ways would be with position:fixed. IE6 and below, however don't support that. There are different workarounds, for example http://www.w3.org/Style/Examples/007/menus.html
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.