How to remove white space under footer bar? I already remove padding:15px under footer, but its not working.
Here's the site
CSS
#bottom-footer{
background: #909090;
text-transform: initial;
padding: 15px;
font-family: 'Arial', 'sans-serif';
color: #000000;
font-weight: 300;
}
#bottom-footer .site-info{
float: left;
font-size: 14px;
color: #000;
line-height: 1.8;
}
#bottom-footer .site-page{
float: right;
font-size: 14px;
line-height: 1.8;
color:#D00000;
}
#bottom-footer .copyright{
float: right;
padding-top:20px;
margin-left:600px;
}
#bottom-footer .logos{
float: left;
padding-top:20px;
margin-right:50px;
}
Or you can use this http://ryanfait.com/html5-sticky-footer/
I'm assuming you want your footer to stick to the bottom of the window except for when the content is higher then the window.. I suggest a few things:
Fix your html, for example, all your content is inside your header tag, that's probably a mistake.
To make your footer work correctly, I would use the css calc method to give your content a minimum height of 100% minus the height of your header+footer, as such (notice also a few important css rules to make this work):
html,body,#page,header { height:100%;}
** Notice that calc method needs to be written exactly as above (spaces and all) to work.. browser support link
Option 2
Another way you can achieve this:
If you have any question feel free..
Try giving dynamic
margin-bottom
value to your #contentSo the
margin-bottom
value will be same as the height of your footer