I want to create a footer in twitter bootstrap, but for some reasons it doesn’t stretch the full with.
<div id="footer">
</div>
#footer{
width: 100%;
height: 200px;
background-color: #b85e45;
padding-top: 50px;
margin-top: 50px;
}
As you can see it’s pretty simple.
2
Answers
Set the margin on “body” to “0”:
here is a working example
Just add another style
It will work.
Updated fiddle – https://jsfiddle.net/xxn5xoqk/1/