skip to Main Content

I want to create a footer in twitter bootstrap, but for some reasons it doesn’t stretch the full with.

<div id="footer">


  width: 100%;
  height: 200px;
  background-color: #b85e45;
  padding-top: 50px;
  margin-top: 50px;

As you can see it’s pretty simple.



  1. Set the margin on “body” to “0”:

    body {

    here is a working example

    Login or Signup to reply.
  2. Just add another style

    html, body {
    margin : 0;
    padding : 0;

    It will work.

    Updated fiddle –

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top