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 trialDarren Handyside
Courses Plus Student 1,357 Pointsurl value not working on workspace
I have typed the url values as below in 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'); }
In workspace is showing error url; covering it red, is workspace playing up? or have I missed something?
2 Answers
Muhammad Mohsen
Courses Plus Student 10,843 PointsYou need to change all equals signs to :
example:
background-image : url('../img/phone.png');
Darren Handyside
Courses Plus Student 1,357 PointsLol!!! Thanks Muhammed - I feel like a doosh!! My eyes couldn't note the error, I was up-late till 2:30am learning.
Thanks again mate :)
Muhammad Mohsen
Courses Plus Student 10,843 PointsYour welcome xD