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

CSS How to Make a Website Adding Pages to a Website Build the Contact Page

Jason Van Dyke
Jason Van Dyke
5,587 Points

When I load the about or contact page, the image and contact info is up against the nav.

Not sure why this is happening but when I download the project files and compare, they are exactly the same. I've even copy and pasted to replace the entire text of my files with the project files and the top of the image is still up against the Nav bar. When I launch the page from the folder I download it seems fine, only when launching and viewing from the workspaces.

huckleberry
huckleberry
14,636 Points

Could you paste the two codes? Perhaps there was something in workspaces that you had forgot to save or something. It may just be a slight bug that requires a browser restart(I've had that happen). It's just hard to tell without the code to compare :).

2 Answers

Jason Van Dyke
Jason Van Dyke
5,587 Points

I think it's a bug. When I download the project files provided by the course and launch index.html from the folder it works fine. I tried deleting all of my files from my workspace and uploaded the exact same files that I downloaded from the course and launch from workspaces, the spacing is wrong. Not sure it's worth the debugging process.... Thanks anyway!

huckleberry
huckleberry
14,636 Points

Okie dokie!

If you haven't yet, I'd go ahead and submit a bug report.

Cheers,

Huck - :sunglasses:

Tyler _
Tyler _
6,651 Points

I asked about this yesterday and got no answer. My About page has the photo up against the Nav bar with no padding. Also, the H3 General Information title on the Contact Page is also up against the Nav bar with no padding. Can anyone help with this?

Grace was trying to help you, and did offer a working solution - however, we need another solution that will work while keeping float: left inside the header style rule.

You can see my answer back in your thread.