Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS How to Make a Website Customizing Colors and Fonts Organize CSS with Comments

Doug Nascimento
Doug Nascimento
390 Points

Flipping wrapper id with anchor

Flipping wrapper id with anchor made the text-decoration show up again . Also my anchor went red when I organized the code.

Why?

P.S.: I put it back to its original order and works great.

3 Answers

Hey Doug, do you happen to have the original code? I'm pretty sure I have an idea as to what went wrong here.

Doug Nascimento
Doug Nascimento
390 Points

Hey Justin, thank you for your interest.

Here is the link : https://w.trhou.se/dupfhl0ps1

Cheers

../

wrapper {

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

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

}

../

Not sure but the only thing I see that may cause a problem is where the curly brace comes far after the comment, instead of immediately after the 5%;