Support Forums

Full Version: Make div stay at bottom of window, like Facebook's "Chat" thingee?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've tried to do this with CSS, but I can't get it to stay put when the page scrolls. I assume this requires JavaScript, which I know nothing about.

Can someone give me the code to do this? Try to keep it organised so I can learn from it Smile
<div style="position:fixed"></div>. I think this will do the trick.
Hey there.

Code:
<div style="position:fixed;bottom:0;"></div>
This should work. If not, ensure you specify a height in the footer.