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

Thomas Waters
Thomas Waters
3,872 Points

Upon expanding my page my header (portfolio,about, contact) seems to disappear. Also, its not floating to right?

index: <meta charset ="utf-8"> <title>TOMBO | Gangster.</title> <link rel ="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Changa+One|Sansita+One' 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> TOMBO </h1> <h2> Creativity Expert </h2> </a> <nav> <ul id= toppage> <li><a href="index.html"class="selected">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav>

main css: nav { text-align:center; padding; 10px 0; margin: 20px 0 0 0; }

nav ul { list-style:none; margin:0 10px; padding: 0; }

nav li{ display: inline-block; }

nav a { font-weight: 700; padding: 15px 10px; }

1 Answer

Thomas Waters
Thomas Waters
3,872 Points

Luis- I figured it out. I had to add the final media query to the bottom of my responsive.css. Thank you though! Took me almost an hour but I figured it out :) Cheers.