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 trialSergio V. Serrat
324 PointsI´m stuck! Stage 4: Challenge task 3 of 3
The question is: Select the element with the ID logo and center the text using text-align
Here is my code and I do not know where is the error...
a { text-decoration: none; }
wrapper{
max-width: 940px; margin: 0 auto; }
Logo {
text-align: center; }
Thanks
3 Answers
Łukasz Czuliński
8,646 PointsIf logo is an ID, then you are missing the # before logo, so this should work:
#logo{
text-align: center;
}
Sergio V. Serrat
324 PointsThanks, but I have both the hash tags at wrapper and logo, it must be something else...
Sergio V. Serrat
324 PointsI manage to solve it thanks!
Jason Anello
Courses Plus Student 94,610 PointsWas it the capital 'L' in logo? It's always a good idea to post the solution so that any future readers who come across this will know what it is.