/** Sticky footer: http://getbootstrap.com/examples/sticky-footer/ */ html { position: relative; min-height: 100%; } body { /* Margin bottom by footer height */ margin-bottom: 50px; } .footer { position: absolute; bottom: 0; width: 100%; /* Set the fixed height of the footer here */ height: 40px; background-color: #f5f5f5; }