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 trialhelio goncalves
5,240 PointsWhy isn't my logo and navigating bar centered?
I have been following the instructor over the project, doing exactly as he does yet my logo or navigating bar won't be centered. I can't find the mistake. Can someone help me please?
helio goncalves
5,240 PointsThanks for you help Jennifer.
Now I need to find a way to share it though :(
5 Answers
helio goncalves
5,240 PointsThanks again Jennifer and Muhamed.
Here is the URL : https://w.trhou.se/asg9r2ty0u
Muhamed Asil
7,453 Pointsall the mistakes in comments line you should type
/************************************ YOUR TEXT HERE ************************************/
good luck =)
Jennifer Nordell
Treehouse TeacherYup! Muhamed Asil is correct and quicker at typing than I am! It stumped me for a minute because I was looking at the syntax of your code... not your comments. Take a look at how the "General" section should look.
/*************************************/
/* General */
/************************************/
You need to do this for every section. It thinks those section titles are actual code... not comments :)
helio goncalves
5,240 PointsThanks a lot Muhamed! Well spotted :)
Farid Wilhelm Zimmermann
16,753 Pointshave you tried refreshing the preview page inside the browser, after hitting the refresh button? On some browsers, the changes will only visibly appear once you manually refreshed the browser page.
helio goncalves
5,240 PointsI have already gone through all the videos again up to Styling Web Pages and Navigation and my code is all right. Strange!
helio goncalves
5,240 PointsHi Farid,
I am really sorry for the delay. I have been away for a while but all you effort to help me is acknowledge.
I have tried that but still did not work. However this problem is already fixed thanks to Muhamed and Jennifer. My comments weren't properly done :)
Thanks a lot anyway.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherOn the upper right-hand side of your workspace you'll find a camera icon. You can use this to take a snapshot of your workspace so that we can look at all your code and directory structure by posting a link here. It will be much easier for us to locate the problem this way!