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 Adjust the Profile Page and Header

Jerry Relunia
Jerry Relunia
17,148 Points

responsive design section

Hi there,

Is there some way someone from treehouse can look at my code, after the responsive design secion the nav bars don't seem to appear properly when the window is at desktop resolution, but smaller than 400 or so px it seems fine?

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

  nav {
      background:none;
      float: right;
      font-size: 1.25em;
      margin-right: 5%;
      text-align: right;
      width:45%;
  }

  #logo {
    float:left;
    margin-left:5%;
    text-align:left;
   width:45%; 
  }

1 Answer

Nick Edwards
PLUS
Nick Edwards
Courses Plus Student 15,766 Points

Hi Jerry, if you post your HTML and CSS here then you'll certainly be able to get some help!

Don't forget to format them properly using Markdown (click on the Markdown Cheatsheet below the text box to see how to post code) so it's easier to read.