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

Davi Ayres
PLUS
Davi Ayres
Courses Plus Student 1,623 Points

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

Waqar Mohammad
seal-mask
.a{fill-rule:evenodd;}techdegree
Waqar Mohammad
iOS Development Techdegree Student 9,914 Points

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;
    }
Davi Ayres
Davi Ayres
Courses Plus Student 1,623 Points

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

Gaoyuan Chen
Gaoyuan Chen
2,546 Points

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.

Gaoyuan Chen
Gaoyuan Chen
2,546 Points

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