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 Customizing Colors and Fonts Resize Text

helio goncalves
helio goncalves
5,240 Points

Why 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?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

On 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!

helio goncalves
helio goncalves
5,240 Points

Thanks for you help Jennifer.

Now I need to find a way to share it though :(

5 Answers

helio goncalves
helio goncalves
5,240 Points

Thanks again Jennifer and Muhamed.

Here is the URL : https://w.trhou.se/asg9r2ty0u

Muhamed Asil
Muhamed Asil
7,453 Points

all the mistakes in comments line you should type

/************************************ YOUR TEXT HERE ************************************/

good luck =)

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Yup! 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
helio goncalves
5,240 Points

Thanks a lot Muhamed! Well spotted :)

Farid Wilhelm Zimmermann
Farid Wilhelm Zimmermann
16,753 Points

have 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
helio goncalves
5,240 Points

I have already gone through all the videos again up to Styling Web Pages and Navigation and my code is all right. Strange!

helio goncalves
helio goncalves
5,240 Points

Hi 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.