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

Is there a reason why my picture is not centered? It is more to the left, but not completely.

a { text-decoration: none; }

wrapper {

max-width: 940px; margin: 0 auto; padding: 0 5% }

logo {

text-align: left; margin: 0; }

h1 { font-family: 'ABeeZee', sans-serif; margin: 15px 0; font-size: 2.75em; }

a { color: #990000; }

/***************** HEADING *****************/

/* green header */ header { background: #990000; border-color: #ffe6e6;

}

/* logo text*/

h1, h2 { color: #ffffff; }

/* nav bg on mobile */ nav { background-color: #ffe6e6; }

/* nav link */

nav a, nav a:visited { color: #000000 }

/* selected nav link */

nav a.selected, nav a:hover { color: #ff0000; }

/* site body */ body { background-color: #fff; color: #999; }

3 Answers

Christopher Johnson
Christopher Johnson
2,069 Points

Your text align on your logo div is left which may be causing it.

No, that changes my h1 and h2.

Christopher Johnson
Christopher Johnson
2,069 Points

It will change images inside of that div too Mike.

It doesnt do anything to my picture.

Christopher Johnson
Christopher Johnson
2,069 Points

Ok, could you share a link to your workspace?

Christopher Johnson
Christopher Johnson
2,069 Points

I'm getting a not found on that link, are you still having problems mate?

yes.