if you have main div, create another div with class footer (inside main div). give to main div position:relative;
after, give to footer div position:absolute; bottom:0;
something like this
<html>
<body>
<div style="width:800px; height:800px; position:relative; background:#ccc;">
<div style="width:800px; height:50px; position:absolute; bottom:0; background:#000;">sss</div>
</div>
</body>
</html>
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.