Welcome to the Treehouse Community
Looking to learn something new?
Caspar Claessen9,060 Points
center content in footer
Dear fellow students,
I have the following question: Currently I am trying to build my own first website, but I cannot seem to get the footer content centered. Here is my code for my footer. What's the CSS I should use?
<a href="https://www.facebook.com/Awearness-1883816761894408/?ref=aymt_homepage_panel"> <img src="C:\Users\User\Documents\Awearness-img\fblogoawearness.jpg" alt="" class="social-icon"> </a> <a href="https://www.instagram.com/awearness.nu/"> <img src="C:\Users\User\Documents\Awearness-img\instalogoawearness.jpg" alt="" class="social-icon"> </a> <span>©Awearness</span>
Also I sometimes get strange low indents in between my social icons.
Looking forward to a reply!
Jonathan GrieveTreehouse Moderator 90,705 Points
You need to select the footer element with CSS and use the property that
aligns text content of an element. Remember with CSS text content refers to any content that lives inside a containing element. Remember to give your element a fluid width that matches the rest of your styles :)