Click here to Skip to main content
Sign Up to vote bad
good
See more: CSSHTMLjQuery
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 - 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

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
Your Filters
Interested
Ignored
     
0 Christian Graus 544
1 OriginalGriff 263
2 samadhan_kshirsagar 229
3 Michael Haephrati 225
4 Ron Beyer 200
0 Sergey Alexandrovich Kryukov 6,959
1 Prasad_Kulkarni 3,689
2 OriginalGriff 3,402
3 _Amy 3,332
4 CPallini 2,950


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