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 trialgaby ibarlucea
4,213 PointsDiv centering not working
The div centering with the code in the css file isn't centering anything in my webpage but I don't understand what i'm missing; I looked at previous questions and then went to double check my spelling and syntax but still couldn't see where my mistake is? Thank you in advance for your help!
Here's what my code looks like >> https://w.trhou.se/cwz7k0vkl1
1 Answer
Ryan S
27,276 PointsHi Gaby,
One thing that jumps out is that in your index.html, you are attempting to link to a stylesheet called "wannabe.css", but the stylesheet you are working on is called "guccimain.css". You have to make sure that the sheets you are linking to are of the correct name.
Also, you should make sure to wrap your <meta>, <title>, and <link> tags in <head></head> tags.
Hope this helps.
gaby ibarlucea
4,213 Pointsgaby ibarlucea
4,213 Pointsyes, thank you! <3