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

The images (mail, twitter and phone) are not aligned in the page when I make it bigger. They get behind the text.

I don't really know where I've made an error. I think is in the code but I don't know where and in what file the error is in. Someone knows how to fix it? I saw some people saying the same thing but their answers didn't helped me.

4 Answers

Yeah, but what file should I paste here?

both if possible please

Davi,

You need to add the code below in your responsive.css file. Hope this helps.

#primary {
   width: 50%;
   float: left;
}

#secondary{
   width: 40%;
   float: right;
    }

Yes! Thank you very much! Really appreciate it, it was awesome!

Hi Davi,

Can you paste your code on here please so we can work out the issue?

Hi, I also meet this problem and I'm sure I wrote the code above in my responsive.css and still the images get behind the text.

nvm, I missed a semi-colon after 40%, wish this could help other people!