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
Ayoade Onafowora
2,762 PointsWhen add images to CSS what if the file path to the question in inside a folder within another folder within the css?
Does this mean that to go up a directory out of the folder will have more than 2 dots....i.e
url('.../img/phone.png'); ???
2 Answers
Matt Nicholas
9,068 PointsTo go up two directories use ../../
url('../../img/phone.png');
Trent Christofferson
18,846 Pointsmake sure to use only 2 periods not 3
Ayoade Onafowora
2,762 PointsAyoade Onafowora
2,762 PointsOkay. thanks Matt Nicholas