HTML:
<html>
<head>
<link href="test.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="footer" style="position:absolute;bottom:0;">
Footer
</div>
</body>
</html>
CSS:
.footer {
background: #ffffff;
border: 1px solid;
color: #e6e6e6;
height: 50px;
width: 100%;
position:absolute;
float: left;
margin: 0px 0px 0px 0px;
}
As you can see in JS Fiddle the footer at the bottom has a slight gap on the left.
I want it to be 100% at the bottom so how do I achieve this thus eliminating the gap on the left?
Just set the following CSS style:
And you just got rid of the gap.