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

With the anchor elements inside the contact-info list still selected, set a minimum height of 20 pixels. Then add a decl

im putting background-repeat: none;

is this not the right way to do it?

Can you add your code please?

5 Answers

Use background-repeat: no-repeat, not "background-repeat: none". In the end, you should have a CSS block that looks something like this:

.contact-info a {
 display: block; 
 minimum-height:20px;
 background-repeat: no-repeat;
}

When minimum was written in short form as min, it worked.

Cosmin Iuga
Cosmin Iuga
2,352 Points

Brett,

Your response did not work... Any ideas how I can accomplish this?

Thanks

contact-info:{ background-repeat:no-repeat; minimum-height:20px;

}

Tendai, its min-height, instead of minimum height

Brett Collins
Brett Collins
902 Points

The syntax for background repeat is:

selector {
     background-repeat: no-repeat;
}
Cosmin Iuga
Cosmin Iuga
2,352 Points

With the anchor elements inside the contact-info list still selected, set a minimum height of 20 pixels. Then add a declaration that will prevent the background from repeating.