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 trialAkhil Kumar
625 PointsIcons not showing up ..
Okay, so 2 others have asked this question but none of them have a conclusive answer .. So, the problem is that none of the icons are appearing , here is my css:
.contact-info li.phone a {
background-image: url ('../img/phone.png');
}
.contact-info li.mail a {
background-image: url ('../img/mail.png');
}
.contact-info li.twitter a {
background-image: url ('../img/twitter.png');
}
The file structure is the same as that of Nick's :) I assume there is nothing wrong with the html part of the code, Any help would be appreciated, Thanks, Akhil
1 Answer
Denis Arambasic
3,184 PointsNo space between url and ( :
url ('../img/phone.png')
use it so in your css:
url('../img/phone.png')
Akhil Kumar
625 PointsThanks a bunch! That seemed to do the job! although i dont quite get why, shouldnt spaces not be a problem?
Akhil Kumar
625 PointsAkhil Kumar
625 Pointshtml :