I am using WAMP and I have multiple site projects.
When accessing files within my CSS or HTML I'd like to use the root selector /index.html
however this is not working. Is there a way I can define root for a project? I've tried researching this but haven't found anything.
For example, in WAMP I have
-www/project1/FOLDERS FOR SITE like images, javascript, css, etc.
I am currently in the css folder and am trying to reference a image file in the images folder.
background: url('/images/background.png') repeat;
this should reference root directory > images > background.png
How do I define the root directory?