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

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

css help font-size modifier

my code looks like this .contact-info ul{ list-style: none; padding: 0; margin: 0; font-size: 0.9em; } my question is what do i got to do to make it work I am going to take a short break from coding see if that clears my mind and see if anyone answers my query

2 Answers

needed to take the space out between the ul and the class then it worked

Itsa Snake
Itsa Snake
3,852 Points

ul.contact-info { list-style: none; padding: 0; margin: 0; font-size: 0.9em; }

explanation // you need to select the class called contact-info that is used within the ul, not a ul that is inside the contact-info class

tried that still get the same result it telliing me i need to set the fonit size to 0.9em