Trying to make the footer in my html css website stick down but nothing works. I've tried changing the position to absolute and fixed and setting bottom: 0 and doing everything but nothing works. Also, is there a better way to make my logo aligned in the middle? Heres my css:
.footer{
background-color: #d62929;
clear: both;
width: 100%vw;
display:block;
overflow: hidden;
padding-top:10px;
padding-bottom: 10px;
min-height: 100%vw;
}
.contact{
margin-left: 30px;
margin: 0 auto;
display:block;
float: left;
padding-right: 50px;
}
.info{
margin-left: 30px;
margin: 0 auto;
padding-left: 30px;
display:block;
float: left;
padding-right: 50px;
}
.account{
margin-left: 30px;
margin: 0 auto;
padding-left: 30px;
display:block;
float: left;
padding-right: 50px;
}
a{
text-decoration:none;
color: black;
font-family: times new roman;
font-size: 18px;
text-align: center;
}
ul{
list-style: none;
text-align: left;
}
.logo_footer{
float: left;
padding: 40px 0;
margin-left: 20px;
margin-right: 40px;
}
h1{
color: white;
font-size: 24;
}
li{
padding: 5px;
}
Heres my html for the footer:
<div>
<footer class="footer">
<a href="home"><img src="{{url_for('static', filename='Logo.png')}}" style="height:108px;width:100px;" class="logo_footer" alt="logo"></a></a>
<div class="contact">
<h1>Contact us</h1>
<ul>
<li><a href="#" target="_blank">Facebook</a></li>
<li><a href="#" target="_blank">Instagram</a></li>
<li><a href="#" target="_blank">Telegram</a></li>
</ul>
</div>
<div class="info">
<h1>Information</h1>
<ul>
<li><a href="about.html">About Us</a></li>
<li> <a href="contact_us.html">Contact Us</a></li>
<li><a href="#">Return Policy</a></li>
<li><a href="#">Delivery</a></li>
</ul>
</div>
<div class="account">
<h1>Account</h1>
<ul>
<li><a href="login.html">Log in</a></li>
<li> <a href="register.html">Register</a></li>
<li><a href="#"> My cart</a></li>
</ul>
</div>
</footer>
</div>