Click here to Skip to main content
11,718,289 members (87,645 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: CSS HTML jQuery
Hi,

i need to fix footer of my web page bottom. i have a page which has some content while it load first. after that i'll append some content in that page. while appending
my page footer not coming down. pls help me
Posted 24-Jan-13 2:03am
Comments
vinodkumarnie at 24-Jan-13 8:21am
   
You can use property style='position:fixed' for your footer.. Still if didn't work, Post your source code..

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Look how sticky footer is implemented in twitter bootstrap:

http://twitter.github.com/bootstrap/examples/sticky-footer.html[^]


/* Sticky footer styles
-------------------------------------------------- */
 
html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}
 
/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  margin: 0 auto -60px;
}
 
/* Set the fixed height of the footer here */
#push,
#footer {
  height: 60px;
}
#footer {
  background-color: #f5f5f5;
}
 
/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
  #footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
}
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 215
1 F-ES Sitecore 210
2 Maciej Los 140
3 Jochen Arndt 120
4 Andy Lanng 115
0 OriginalGriff 535
1 Maciej Los 529
2 Richard MacCutchan 440
3 CHill60 415
4 F-ES Sitecore 415


Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100