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

Emmanuel Rodriguez
Emmanuel Rodriguez
1,906 Points

[Solved] Contact page columns are not side by side, could not find answer on previously asked questions. Please help.

Still having problems with the two columns in the contact page. The Contact Details column is not showing up to the right, it stays at the bottom. A blank second column does show up when I re-size the window. I have already checked to make sure I am linking the responsive.css sheet and the right ids but I still get nothing. Please help.

Here is my workspace snapshot: https://w.trhou.se/ljurr9cty3

#wrapper {
  max-width:90%;
  margin: 0 auto;
  padding:0 0.5%;
}

5 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

In your responsive.css you've managed to misspell the word "right". You've written "rigth". Try correcting that spelling error and see if it doesn't make a huge difference!

Emmanuel Rodriguez
Emmanuel Rodriguez
1,906 Points

Thank you so much. Forgot to check my spelling. Kept thinking it was more in contact.html than in the css.

I also edited :

@media screen and (min-width: 480px) {


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

#primary {
    width: 90%;
    float: left; 
    margin:2%;
  }

#secondary{
    width:90%;
    float: left;
    margin:2%;
  }  

}

@media screen and (min-width: 880px) {
  /*********************
  TWO COLUMN LAYOUT
  **********************/

#primary {
    width: 60%;
    margin: 0 0 0 10%;  
  }

#secondary{
    width:30%;
    float: left;
    margin: 0;
  }
}
 </ul>
      </section>
      </div>// close wrapper
<footer>

and in your contact.html I've changed that the wrapper don't apply to footer

Emmanuel Rodriguez
Emmanuel Rodriguez
1,906 Points

Thank you for all the changes. Made my page look better.

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

I'm still of the opinion that he should first try correcting the spelling of "right" in his responsive.css. This is what he currently has:

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