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 Iconography

TANGKAI ZHANG
TANGKAI ZHANG
2,118 Points

list-style: none does not work for .profile-info but for .profile-info li, different with nick's example.

list-style: none does not work for .profile-info but for .profile-info li, different with nick's example.

Csaba Koles
Csaba Koles
4,644 Points

Could you include your code? It might be just something you misspelled.

3 Answers

Csaba Koles
Csaba Koles
4,644 Points

Holly-Molly I somehow managed to delete your answer to my question! Sorry about that. For your benefit please copy the code again. If possible with the result. I have tested your CSS in Brackets it works completely fine. Although I think if you target the "li" directly within your class you don't need the "list-style: none;" for the class.

or on mine I had to change the name of the picture like on mine I had to do sage.jpg

Csaba Koles
Csaba Koles
4,644 Points

I'm sorry but you lost me. Is it an image you have the problem with or you can't reach a class element in your CSS using Nick's example in the "how to make a website" lesson?

TANGKAI ZHANG
TANGKAI ZHANG
2,118 Points

It is the second case you said, I think I have identical code with Nick but mine does not give a same preview.