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 trialMichael Brown
1,090 Pointsmail.png is not showing up on contact page. I have checked code several times.
Here is code:
.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; }
.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 phone and twitter icon are fine.
2 Answers
Michael Brown
1,090 PointsThanks Richard. But no it is in img folder; and if I highlight it the image shows up, and if I click on blank space where image should be it appropriately opens an email.
Just figured it out in contact.html I had the class as email and in css class as mail. Fixed it and its fine now.
Thanks
Richard Nicholls
1,301 PointsAre you sure that you have the mail .png in your image folder?