Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Floating Footer

 
Arya Devan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic