Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic