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

Nick Jaques
Nick Jaques
2,022 Points

My list item img's (phone, email icon) are not moving next to my text when the page is in two column layout above 480px?

.contact-info a {
  display: block;
  min-height: 20px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  padding: 0 0 0 30px;
  margin: 0 0 10px;
}

.contact-info li.phone a{
background-image: url('../img/phone.png')
}


.contact-info li.mail a{
background-image: url('../img/mail.png')
}


.contact-info li.twitter a{
background-image: url('../img/twitter.png')
}
Nick Jaques
Nick Jaques
2,022 Points
@media screen and (min-width: 480px) {


  /********************
  TWO COLUMN LAYOUT
  ********************/

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


  #secondary {
    width: 40%
    float: right;
  }
}

1 Answer

John Donnell
John Donnell
7,801 Points

your css #secondary {width: 40% } is missing the semicolon after 40%;

Nick Jaques
Nick Jaques
2,022 Points

Thanks! Works perfectly now