SO footer color example

This is a simple Bootstrap skeleton. You can fork it to get a ready to use Bootstrap fiddle.

by panchroma

HTML

<script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.1.0/bootstrap.min.js"></script>
<div id="wrapper"> 

    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
	        <div class="container">
            <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-inverse-collapse">
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	          </a>
	          <div class="nav-collapse collapse navbar-inverse-collapse">
	            <ul class="nav">
                <li><a href="home.html"><i class="icon-home"></i> Home</a></li>
              </ul>
            </div>
        </div>
      </div>
    </div> <!-- end of class navbar -->

    <div class="container">
      <div class="fluid-row">
        <div class="span3">
          <p>Something here</p>
        </div>
        <div class="span8">
          <p>Some content</p>
          <p>Some content</p>
          <p>Some content</p>
          <p>Some content</p>
          <p>Some content</p>
        </div>
      </div>
    </div> <!-- end of class container -->
  <div id="push"></div>
 </div> <!--END WRAPPER  I moved this -->
    <div class="footer">
        <div class="container"> <!-- using container to left-align footer to the main content -->
          <p>My footer</p>
          <p>Some other content</p>
          </div><!-- end container -->
     </div> <!-- end of class footer -->

CSS

@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');

body {
	        margin-top: 0px; /* 60px to make the container go all the way to the bottom of the topbar */
  background-color: #F4F4F4;
  height: 100%;
	      }

 /* footer {
background-color:#F4F4F4;	
} */

#wrapper{
    padding-top:60px;
  background-color:#ECECEC;
  min-height: 100%;
        height: auto !important;
        height: 100%;
        /* Negative indent footer by it's height */
        margin: 0 auto -60px;
}

#push,
      .footer {
        height: 60px;
      }