So I'm making a little website to market an application I'm going to create. I'd like to have three social media icons at the bottom of the screen, aligned to the middle of the screen, horizontally.
I've put the three icons inside a div and no matter how much I try, I can't figure out how to align this properly!
Please note, I began using HTML and CSS today, so excuse my extremely horrible code.
<div style="text-align:middle">
<ul style="white-space:nowrap; display:inline; list-style:none;">
<li style="white-space:nowrap; display:inline; list-style:none; padding:30px;">
<img src="images/custom/facebook.png" height="60"></img></li>
<li style="white-space:nowrap; display:inline; list-style:none; text-align:center;">
<img src="images/custom/twitter.png" height="60"></img></li>
<li style="white-space:nowrap; display:inline; list-style:none; padding:30px;">
<img src="images/custom/gmail.png" height="60"></img></li>
</ul>
</div>
Any help is appreciated.
Thank you,
David
` elements generally have left padding for indentation. See [UL has margin on the left](https://stackoverflow.com/questions/15251127/ul-has-margin-on-the-left).
– showdev Oct 03 '17 at 17:59