hairdye
New Coder
Hello. I have been trying for the past 3 hours to center these 4 images with text underneath. After searching and searching and trying everything i have found, I can't figure it out. So if anybody knows what I'm doing wrong I would appreciate the help a lot. Thank you
HTML:
<div class="icons">
<ul>
<li>
<a href="Website/Tutorial/Tutorial.html">
<img src="Tutorial.png" alt="Tutorial" height="50" width="50"><p>Tutorial</p>
</a>
</li>
</ul>
</div>
<div class="icons">
<ul>
<li>
<a href="https://www.discord.gg/tCWnufzmwZ">
<img src="Discord.png" alt="Discord" height="50" width="50"><p>Discord</p>
</a>
</li>
</ul>
</div>
<div class="icons">
<ul>
<li>
<a href="https://www.store.valleymc.org">
<img src="Store.png" alt="Store" height="50" width="50"><p>Store</p>
</a>
</li>
</ul>
</div>
<div class="icons">
<ul>
<li>
<a href="https://www.google.com">
<img src="Vote.png" alt="Vote" height="50" width="50"><p>Vote</p>
</a>
</li>
</ul>
</div>
CSS:
.icons {
float:left;
margin-left: 100px;
}
.icons a:link {
text-decoration: none;
}
.icons a:hover img {
transform: scale(1.5);
-webkit-transition: transform 0.2s ease-in-out;
}
.icons p {
color: #FFFFFF;
font-family: 'Lato', sans-serif;
font-size: 17px;
font-weight: 600;
}
.icons li {
list-style-type: none;
}

