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

HTML How to Make a Website Responsive Web Design and Testing Adjust the Profile Page and Header

Josh Myers
Josh Myers
3,203 Points

CSS won't format 2 separate columnts

I'm having an issue with my CSS. It seems that when I resize the window to a larger size, it doesn't line up my text with the profile photo side by side. Any suggestions?

https://w.trhou.se/j9mvhwvx5x

Hi,

CSS and Index look fine. Is the text wrapping around the picture? If so, you can add more margin to the bottom of the photo.

For Example in responsive.css:

  .profile-photo {
    float: left;
    margin: 0 5% 400px 0;
  }

Hope that helps. There may be a better fix, but that's what I did to temporarily resolve the issue of the text wrapping around my photo.