Click here to Skip to main content
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 428
1 Sergey Alexandrovich Kryukov 253
2 PhilLenoir 115
3 RajeeshMenoth 110
4 Peter Leow 100
0 Sergey Alexandrovich Kryukov 6,465
1 OriginalGriff 5,926
2 CPallini 2,473
3 Richard MacCutchan 1,687
4 Abhinav S 1,540


Advertise | Privacy | Mobile
Web02 | 2.8.140821.2 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2014
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