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

CSS How to Make a Website Adding Pages to a Website Add and Style Icons

Robert Bullen
Robert Bullen
8,022 Points

Select the unordered list with the class contact-info and set the font size to 0.9em. Then, remove all margin, padding,

it's not recognising the code properly:

.contact-info ul { font-size:0.9em; }

Comes up with an error saying to set the font size to 0.9em.... it's what I did.

2 Answers

This should work. Copied and modified from another site.

Style all <ul> elements with class="contact-info":

ul.contact-info { font-size:0.9em; }

Since ul is not a child of .contact-info, your answer won't work. contact info is the class of ul you want to modify.

thanks ryan, this worked