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

Image positioning issue

Hello, I'll be honest, I haven't attempted to make a website in a while so I'm pretty out of practice. On the site which I am currently working on for myself, I need help with the top navigation bar. You Can see the site here:http://www.noahcooke.com. I realize that everything is out of place and it's not close to being finished but the thing that I am wondering is the logo. I would like it to be aligned with the left side of the white box. I would also like it to stay inside of the navigation div which is inside of a div that spans the width of the page. Anyways, I hope I explained this well enough but if I didn't feel free to ask in the comments. Thanks for reading! -Noah

1 Answer

Hey Noah,

You have your #navbarbar element set to a width of 120%. If that isn't necessary to your layout, you can change that to 100% and that should fix the issue and line your logo up nicely.

Wow thanks so much man! I don't know why I had it at 120%. Thanks for the help :)

Haha my pleasure dude!