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 trialDavi Ayres
Courses Plus Student 1,623 PointsThe 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
Davi Ayres
Courses Plus Student 1,623 PointsYeah, but what file should I paste here?
Waqar Mohammad
iOS Development Techdegree Student 9,914 PointsDavi,
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
Courses Plus Student 1,623 PointsYes! Thank you very much! Really appreciate it, it was awesome!
Waqar Mohammad
iOS Development Techdegree Student 9,914 PointsHi Davi,
Can you paste your code on here please so we can work out the issue?
Gaoyuan Chen
2,546 PointsHi, 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
2,546 Pointsnvm, I missed a semi-colon after 40%, wish this could help other people!
Waqar Mohammad
iOS Development Techdegree Student 9,914 PointsWaqar Mohammad
iOS Development Techdegree Student 9,914 Pointsboth if possible please