Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Aligning social media icons and copyright links

Hi, I want to align the social media icon and copyright link I have. Can anyone let me know where I'm going wrong?

/**********************
***Footer***********/

#socialmedia ul {
    width: 100%;
    margin-top: 200px;
    text-align: center;
    margin: 0 auto;
}

#socialmedia ul li {
    display: inline-block;

}



h3 {   
    font-size: 10px;
    width: 100%;
    margin: 0 auto;
    text-align: center;

}
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Square Water Proofing</title>
        <link rel="stylesheet" href="css/main.css">
        <link href='https://fonts.googleapis.com/css?family=Libre+Baskerville' rel='stylesheet' type='text/css'>
    </head>
    <body>
    <div class="container">
        <header>
            <a href="index.html" id="logo" class="title">
                <h1>Square Water Proofing</h1>
            </a>
            <nav>
                <ul>
                    <li><a href="our_story.html" class="nav-key">Our Story</a></li>
                    <li><a href="services.html" class="nav-key">Services</a></li>
                    <li><a href="beforeafter.html" class="nav-key">Before & After</a></li>
                    <li><a href="contact.html" class="nav-key">Contact Us</a></li>
                </ul>
                <section class="call-us">
                <h2>Call us today!<a href=tel="617-416-9403" class="tel">(617) 416-9403</a></h2>
                </section>
            </nav>
        </header>    
    </div>
        <section>
            <banner>
                <img src="" class="banner-image">
            </banner>
        </section>
        <section>
            <h2>About Us</h2>
            <p>Something something something about us</p>
        </section>
        <section>
            <ul id="main-services">
                <li><a src=""></a></li>
                <li><a src=""></a></li>
                <li><a src=""></a></li>
            </ul>
        </section>
        <div id="socialmedia">
            <footer>
                <ul>
                    <li>
                        <a href="facebook.com"><img src="images/facebook.png" alt="Facbook" class="facebook"></a>
                        <a href="instagram.com"><img src="images/instagram.png" alt="Instagram" class="instagram"></a>
                    </li>                       
                </ul>
                    <h3><a href="http://jasonladieu.com">&copy; 2016 Jason Ladieu</a></h3>
            </footer>
        </div>    
    </body>
</html>

1 Answer