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 trialst3
559 PointsSimple CSS Question
For the CSS question: "Select the unordered list with the class contact-info and set the font size to 0.9em. Then, remove all margin, padding, and list styling."
I have the below CSS, but it keeps saying this is not correct. Can you let me know where it is wrong and what is the correct CSS for this?
ul.contact-info li {
font-size: 0.9em;
margin: 0;
padding: 0;
}
2 Answers
notf0und
11,940 PointsYou're forgetting to set list-style: none;
ul.contact-info {
font-size: 0.9em;
margin: 0px;
padding: 0px;
list-style: none;
}
Hope that helps :)
Michael Barnette
614 PointsWhat is the error that comes up?