permaculture playing cards
The moose likes HTML, CSS and JavaScript and the fly likes Fixed div at the bottom Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Fixed div at the bottom" Watch "Fixed div at the bottom" New topic
Author

Fixed div at the bottom

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

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

Joined: Jan 10, 2002
Posts: 62126
    
  68

Divide the page into two divs. Make the top div scrollable (hint: check out the overflow CSS rule).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: Fixed div at the bottom