This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread 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 Head First Android this week in the Android 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: 15385
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.

It is sorta covered in the JavaRanch Style Guide.
subject: Floating Footer
It's not a secret anymore!