I have this problem: I am in a directory let 's call it css/ and that directory has a parent directory which is res/ and res/ has two children which are css/ and img/ , so from css/ I want to access img/ which is its sibling .
I have tried this to put this value as background-image
in a selector: url('res/img/una-imagen.png')
to access the image but they do not work, the browser takes it as .../WorkSpace/res/css/res/una-imagen.png
and of course it is wrong, if anyone has another way or any idea to access the image but not with the path Complete can you pass it to me please.
Try this way url('../img/una-image.png') If I'm not mistaken with a colon you are indicating which company to look for from a parent folder from where you are requesting it