This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Fixed div at the bottom" Watch "Fixed div at the bottom" New topic

Fixed div at the bottom

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

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.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Fixed div at the bottom
It's not a secret anymore!