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!
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

John Faught
3,484 PointsBoxes and widths
I am working on a website and I am trying to put 2 columns, I want one on the right side of the page and one in the center, I have made the content but when I apply the css all it does is display down the page. I can not get it to go into its correct area.
4 Answers

Elliott Frazier
Courses Plus Student 9,647 PointsThe best way for us to help is to show your code using Codepen

John Faught
3,484 Pointshttp://codepen.io/Johnfaught/pen/mnpqL
I am trying to put the contact information in the middle and have just a column on the right side.

legarejp
852 PointsInverse the order of the #contact and #barleft divs in your code and apply float:right css on both. I'd also suggest you set their width and change <iframe width="425" height="350"... to <iframe width="100%" height="350"... making the iframe adapt itself to the parent div.

John Faught
3,484 PointsThank you so much, Jean-Philippe Légaré! It's not having it the other way that fixed my problem!

Adam Moore
15,825 PointsSounds like a floating problem. Code would help but if you're unfamiliar with how a css float works you'll need to study up on that...

John Faught
3,484 PointsI've studied floats, but it still doesn't fall into place.
Tomasz Foster
19,442 PointsTomasz Foster
19,442 PointsPost your code so we can help you out. Thanks!