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 trial
VANESSA GRZYWACZ
414 PointsCSS HOW TO MAKE A WEBSITE My background didn't go orange and the text is still underlined
Hi I'm doing the <div> wrapper bit but the background didn't go orange and the links are still underlined. Is my code wrong?
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
padding: 0 5%;
}
#logo {
text-align: center;
margin: 0;
}
3 Answers
Jaco Burger
20,807 PointsHi Vanessa, I've got no idea what you've posted there, but it isn't CSS. Please post your CSS.
Thanks
Jim Withington
12,025 PointsHi Vanessa,
Looks like you're probably doing the How to Make a Website course. A couple of things:
You can refer to this forum post in order to figure out how to post your code in the forum.
Once you do that, be sure to post all of your CSS code. That way folks can help!
Cheers!
Wayne Priestley
19,579 PointsHey Venessa,
I'm not sure what your html is but maybe you could check your path to your css file is correct, for example if it's in a folder called css the path would be css/my-styles.css assuming your css file was called my-styles.css
I also noticed you don't have any css to change the background colour.
Is it the #wrapper you want to change the background colour on?
Could you post your html please so we can take a look,
Thanks :)
Wayne Priestley
19,579 PointsWayne Priestley
19,579 PointsHi Venessa,
I've edited your code so it appears correct in your post.
You almost had the markdown correct,
Here is a link to explain how to use Markdown to post your code How to post code
If you look at the bottom of the box when your typing a reply you will see Markdown Cheatsheet that will also explain how to post your code
Hope this helps.