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 Iconography

I can't make the bullet points go away

<h3>Contact details</h3>
          <ul class="contact info">
          <li class="phone"><a href="tel:0721-242424">0721-242424</a></li>
           <li class="mail"><a href="mailto:1234@yahoo.com">1234@yahoo.com</a></li>
           <li class="Facebook"><a href="http://facebook.com/intent/facebook?screen_name=sighinas.razvan">@sighinas.razvan</a></li>
          </ul>

And the css:

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

What is the problem?

jennifer ray
jennifer ray
7,875 Points

Did you add the end curly brace? }

yes

Tony Nguyen
Tony Nguyen
24,934 Points

Can we see your HTML? Just so that we can make sure that you are selecting the correct element?

<h3>Contact details</h3> <ul class="contact info"> <li class="phone"><a href="tel:0721-242424">0721-242424</a></li> <li class="mail"><a href="mailto:1234@yahoo.com">1234@yahoo.com</a></li> <li class="Facebook"><a href="http://facebook.com/intent/facebook?screen_name=sighinas.razvan">@sighinas.razvan</a></li> </ul>

jennifer ray
jennifer ray
7,875 Points

have you got a capital C in contact-info in HTML as in your css?

Tony Nguyen
Tony Nguyen
24,934 Points

Nevermind, I edited your question to show the HTML.

yes I have a capital C in both

2 Answers

Tony Nguyen
Tony Nguyen
24,934 Points

The reason why it's not working is because you're not selecting the correct element.

Please remember that classes and id's should not have any spaces in between them. You should add a dash like this:

<ul class="contact-list">
</ul>

And then select your class like this, make sure that nothing is capitalized too:

.contact-list {
   list-style: none;
}

Thank you

I had the same problem, but mine was that the </ul> was not at the end of the list.