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

Abdullah Althobetey
Abdullah Althobetey
18,216 Points

Problem with repeating image in CSS

Hi everyone I typed the same code in the video 'Add Iconography' but my images still repeating even though I set background-repeat to no-repeat.

.contact-info a {
    display: block;
    min-height: 20px;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    padding: 0 0 0 30px;
    margin: 0 0 10px;
}
<ul class="contact-info">
                <li class="phone"><a href="tel:555-4859">555-4859</a></li>
                <li class="mail"><a href="mailto:abdullah.th@me.com">abdullah.th@me.com</a></li>
                <li class="twitter"><a href="http://twitter.com/abdullah_th_">@abdullah_th_</a></li>
            </ul>
Stone Preston
Stone Preston
42,016 Points

what browser are you using?

Abdullah Althobetey
Abdullah Althobetey
18,216 Points

I tried both safari and chrome

'sorry i wrote this in the answer'