kalani05 / Tea-Cozy

Week 4 Codecademy Project
0 stars 0 forks source link

Use Relative Paths Over Absolute File Path #1

Open davecastlevania opened 7 years ago

davecastlevania commented 7 years ago

https://github.com/kalani05/Tea-Cozy/blob/master/resources/css/style.css#L79 https://github.com/kalani05/Tea-Cozy/blob/master/resources/css/style.css#L100

Use ./resources/images/img-mission-background.jpg

davecastlevania commented 7 years ago

Correction

../images/img-locations-background.jpg

because the style.css starts in /resources/css/ we need to use .. to go up a level

davecastlevania commented 7 years ago

More here

http://www.coffeecup.com/help/articles/absolute-vs-relative-pathslinks/