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 trialCharles Okonkwo
3,289 PointsTwo Column Layout not working
My contact page is not splitting into 2 columns. Is there something wrong with my code?
@media screen and (min-width: 480px) {
/****************************** TWO COLUMN LAYOUT ********************************/
#primary { width: 50%; float:left; }
#secondary { width: 40%; float:right; } }
@media screen and (min-width: 660px) {
}
and for contact page...
<div id="wrapper"> <section id="primary"> <h3>General Information</h3> <p>I am a work in process at the moment. I will son have the skills to support My vision and yours.</p> <p>If there's an emergency please consider calling someone else. (Unless you know me and know I'm the only one who can help you...then shoot me a fax.)</p> </section> <section id="secondary"> <h3>Contact Details</h3> <ul class="contact-info">
2 Answers
adam aufdermauer
1,195 Pointsdisplay: block;
Greg Harris
43,362 PointsThis is strange. I put your code into codepen https://codepen.io/pen/ and it works. Maybe your having issues because the final <section> tag is not closed.