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 trialNicolas Baria
432 PointsUnable to get my logo to center - SOLVED
Hi, I've watched this video a couple times and compared my code to Nick's code and I can't figure our where I'm going wrong. My logo won't center, and "id logo" appears at the top of my webpage, so I know something is off.
Here's my html: https://w.trhou.se/qvl4r19zkp And my css: https://w.trhou.se/motnlsy5ad
Thanks for your help
3 Answers
Greg Debres
13,086 PointsYea change it to
<a href="index.html" id="logo">
Kirstine Nichols
13,592 Points <a href="index.html"> id="logo">
Is the a href supposed to have the id "logo"? If that's the case, then there should only be white space between it and the link.
Daire Ferguson
1,592 PointsYou may be spelling center wrong in your CSS, the USA and the UK spelling are different.
center and centre (the last 2 words swap depending on the version of English)