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 trialkj2
5,933 PointsWith 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?
5 Answers
MUZ141095 Kelvin Chawora
9,348 PointsUse 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;
}
Buddhi Ghimire
5,287 PointsWhen minimum was written in short form as min, it worked.
Cosmin Iuga
2,352 PointsBrett,
Your response did not work... Any ideas how I can accomplish this?
Thanks
MUZ140601 Tendai Machirori
7,967 Pointscontact-info:{ background-repeat:no-repeat; minimum-height:20px;
}
MUZ141095 Kelvin Chawora
9,348 PointsTendai, its min-height, instead of minimum height
Brett Collins
902 PointsThe syntax for background repeat is:
selector {
background-repeat: no-repeat;
}
Cosmin Iuga
2,352 PointsWith 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.
Joshua Petty
936 PointsJoshua Petty
936 PointsCan you add your code please?