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 and Style Icons

Paula Mourad
Paula Mourad
5,154 Points

Help? CSS

Select the anchor elements inside the contact-info list. Then set them to block level elements.

This is what I wrote:

.contact-info a {
     list-style: block;
}

Got it wrong....again! :'( lol Thanks!

2 Answers

Instead of list-style you should be setting the display property.

When your aiming at list-style, your aiming at e.g numbers or bullet points on ' ul ' and ' li ' tags. If you want to get them away you type just none. You can also swap them so they appear something else than numbers or bullet points as well as i think you could but not sure put an image .