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 Build a Three Column Layout

Text of my general info doest not separate into two columns. The text flows on top of the contact details

4 Answers

Thanks!

I believe that's because you're missing a percent sign on this line:

#primary { width: 50; float: left; }

It should be "50%". Let me know if that doesn't solve your issue. :)

Hi,

We cannot access your workspace from that link - could you please paste your code directly?

This is my responsive.css

@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) {

}

This is my contact.html

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Jonatan Spahn</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Ultra' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/responsive.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Jonatan Spahn</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html" class="selected">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section id="primary"> <h3>General Information</h3> <p>I am not currently looking for new design work, but I am available for speaking gigs and similar engagements. If you have any questions, please don't hesitate to contact me.</p> <p>Please only use phone contact for urgent inquiries. Otherwise twitter or email are the best way to reach me</p> </section> <section id="secondary"> <h3>Contact Details</h3> <ul class="contact-info"> <li class="phone"><a href="tel:555-555-5555">555-555-5555</a></li> <li class="mail"><a href="mailto:nick@example.com">nick@example.com</a></li> <li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=nickrp">@nickrp</a></li> </ul> </section> <footer> <a href="http://twiter.com"> <img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"> </a> <a href="http://facebook.com"> <img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"> </a> <p>© 2016 Jonatan Spahn.</p> </footer> </div> </body> </html>

Awesome, Thank you! Guess my eyes needed some sleep.