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 trialKelvin Chavez
932 PointsMy header looks great for the mobile but when I expand towards pc size the header disappears.
Sorry here is a snapshot of my code : https://w.trhou.se/p3javpjn96
Kelvin Chavez
932 PointsI have also never been able to properly float the images in my portfolio. if you could take a look at that as well.
2 Answers
Danilo Mezgec
23,860 PointsAs a 1st step try to remove the float property from line 55 on the following media query: @media screen and (min-width: 660px)
logo
Then do the same to the menu.
I usually avoid the floating elements, as they are great if you want for i.e. content surrounding an element (like a picture), but they could be really tricky in almost every other situation. I prefer inline bloks for general styling that need to share the same horizontal area.
Also your h1 has a weird margin top&bottom of 6px. It generates a white space on the top. I suggest you to put a "margin:0", in that way you'll override the normalize and the user agent (the browser style).
lucybeck
6,055 PointsAre you referring to the logo? http://forums.asp.net/t/1685650.aspx?What+is+the+standard+size+of+a+logo+image+
Steven Parker
231,198 PointsSteven Parker
231,198 PointsThat's only part of the code. It can be hard to see the issue without the complete project.
You can share everything at once if you make a snapshot of your workspace and provide the link to it.