Edrol97
Bronze Coder
Hi all,
Wondering why my footer is displaying as below with the current css and html. Lots of white space that shouldn't be there. If anyone can spot the reason, it would be much appreciated.
Wondering why my footer is displaying as below with the current css and html. Lots of white space that shouldn't be there. If anyone can spot the reason, it would be much appreciated.
HTML:
<div class="footer">
<a href="https://www.facebook.com/house.of.lord.illustration1/" target="_blank"><img src="img/background/Facebook Logo.png" class="fa fa-facebook"></a>
<a href="https://twitter.com/eliotlord1" target="_blank"><img src="img/background/Twitter%20Logo.png" class="fa fa-twitter"></a>
<a href="https://www.instagram.com/house_of_lord_illustration/?hl=en" target="blank"><img src="img/background/Instagram logo.png" class="fa fa-instagram"></a>
<a href="Home.html"><div class="title_text3">© Eliot Lord 2024</div></a>
<br>
<div class="column"><a href="Home.html"><p>Phone Home</p></a></div>
<div class="column"><a href="about_me.html"><p>About Me</p></a></div>
<div class="column"><a href="Art.html"><p>The Show</p></a></div>
<div class="column"><a href="Bad_Times.html"><p>Bad Times are Now</p></a></div>
<div class="column"><a href="The_Pun.html"><p>The Pun</p></a></div>
<div class="column"><a href="https://procartoonists.org/profile/eliotlord/" target="_blank"><p>Trust Me, I'm a Professional</p></a></div>
<div class="column"><a href="Mail.html"><p>The Fail</p></a></div>
<div class="column"><a href="mailto:[email protected]"><p>Hit Me Up</p></a></div>
</div>
CSS:
.footer {
background-color: lightgrey;
display: block;
grid-gap: 1rem;
grid-template-columns: 1fr 1fr 1fr 1fr;
padding: 1rem;
}
.column {
background-color: lightgrey;
padding: 0;
float: left;
width: 300px;
}