Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fixed div at the bottom

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
How to create a div that is fixed at the bottom of the browser window?
And it should stays there no matter if the user is scrolling.
Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Divide the page into two divs. Make the top div scrollable (hint: check out the overflow CSS rule).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic