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 How to Make a Website Responsive Web Design and Testing Build a Three Column Layout

Icons are overlapping in the first column

My contact icons are overlapping in the 1st column when screen resizes to a 2 column layout.

Emma Newton
Emma Newton
6,721 Points

Can you paste your code here? It will be easier to see what the problem is that way.

I don't know if this is your problem, but I had that sort of issue on my site and it was the result of an error in the section tags in contact.html.

I had: ''' <section id="primary"> <h3>General Information</h3> <p>I am interested in development.</p> </section> <h3>Contact Details</h3> <ul class = "contact-info"> <li class="phone"><a href="tel:555-5555">555-5555</a></li> <li class="mail"><a href="mailto:jason@example">jason@example.com</a></li> <li class="twitter"><a href = "http://twitter.com/intent/tweet?screen_name=tweetledee">twitter</a></li> </ul> <section id="secondary"> </section> '''

So the contact details were not included in the secondary section. When I changed it to the following it worked fine. You may want to double check your sections and see if you are running into a similar problem.

''' <section id="primary"> <h3>General Information</h3> <p>I am interested in development.</p> </section> <section id="secondary"> <h3>Contact Details</h3> <ul class = "contact-info"> <li class="phone"><a href="tel:555-5555">555-5555</a></li> <li class="mail"><a href="mailto:jason@example">jason@example.com</a></li> <li class="twitter"><a href = "http://twitter.com/intent/tweet?screen_name=tweetledee">twitter</a></li> </ul> </section> '''

For future users: there might be an error with the placement of the section tags as explained in Jason's post, or there might be a simple typo with the "secondary" id on either the HTML or the CSS document. It's easy to make a couple of hasty spelling typos while concentrating on syntax, so check this too if something doesn't look right.