Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

ramseydennis
4,530 PointsWhat's wrong with my CSS? Contact icons aren't appearing in the way they do in Nick's video -
The contact icons on my contact page aren't appearing on the left side of each contact option.
Here is a link to my code: https://w.trhou.se/v9l09lrsft
I am referring specifically to the Contact section of my main.css and contact.html.
Here is what I am referring to specifically:
HTML:
<section>
<h3>Contact Details</h3>
<ul class="contact-info">
<li class="phone"><a href="tel:444-5643">444-5643</a></li>
<li class="mail"><a href="mailto:ram@example.com">ram@example.com</a></li>
<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=metrocollab">@metrocollab</a></li>
</ul>
</section>
CSS:
.contact-info {
display: block;
min-height: 20px;
background-repeat: no-repeat;
background-size: 20px 20px;
padding: 0 0 0 30px;
margin: 0 0 10px;
}
Thanks-
1 Answer

Jason Anello
Courses Plus Student 94,596 PointsHi ramseydennis ,
Those styles were supposed to be applied to the links within the .contact-info list.
The selector should be .contact-info a
ramseydennis
4,530 Pointsramseydennis
4,530 PointsGreat, thank you Jason.