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 trialMike Bachman
2,029 PointsIs 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
2,069 PointsYour text align on your logo div is left which may be causing it.
Mike Bachman
2,029 PointsChristopher Johnson
2,069 PointsI'm getting a not found on that link, are you still having problems mate?
Mike Bachman
2,029 Pointsyes.
Mike Bachman
2,029 PointsMike Bachman
2,029 PointsNo, that changes my h1 and h2.
Christopher Johnson
2,069 PointsChristopher Johnson
2,069 PointsIt will change images inside of that div too Mike.
Mike Bachman
2,029 PointsMike Bachman
2,029 PointsIt doesnt do anything to my picture.
Christopher Johnson
2,069 PointsChristopher Johnson
2,069 PointsOk, could you share a link to your workspace?