Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make div stay at bottom of window, like Facebook's "Chat" thingee?
#1
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
Reply
#2
<div style="position:fixed"></div>. I think this will do the trick.
Reply
#3
Hey there.

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


Forum Jump:


Users browsing this thread: 1 Guest(s)