This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Floating Footer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Floating Footer" Watch "Floating Footer" New topic

Floating Footer

Arya Devan

Joined: Feb 07, 2006
Posts: 28
hi all,

i m very new to CSS and JS .. i m rite now designing a page that requires the footer to auto align itself to the bottom of the page by itself depending on the length of the content of the page.

in certain websites .... i have seen the footer float around the page as i scroll down and every time it cutely lands on the bottom part of the page...

how can i do this in my page.

plz help.

thanx in advance.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
Normally called a watermark script. Search google and there should be plenty of JavaScript examples on how to do it. CSS has this in the new specs, but it is not implemented yet in the main browsers.

I agree. Here's the link:
subject: Floating Footer