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 trialcassandram518
1,259 PointsHelp with CSS formatting
I am trying to get through a question here and it tells me to set the font size to 0.9em. I have done the following code and it won't accept it
.contact-info ul {
font-size: 0.9em;
margin: 0;
padding: 0;
list-style: none;
}
4 Answers
Douglas Miles
2,193 Pointstry ul.contact-info instead of .contact-info ul I noticed through my trial here at treehouse that the coding challenge isn't always the way they explain it in the video.
Eivind Jonassen
5,994 PointsI think the "ul" bit of your code is uneccesary. (perhaps, Im by no means an expert :p) So my suggestion would be to just type:
.contact-info {
font-size: 0.9em;
margin: 0;
padding: 0;
list-style: none;
}
idan ben yair
10,288 PointsHello Cassandra,
Please look at the question carefully, are you being asked to target the size of the text? If so try targeting the a element:
.contact-info ul li a
Let me know if that helped :)
cassandram518
1,259 PointsThanks Douglas, your answer worked!
Douglas Miles
2,193 PointsAnytime! =)