- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’m having an annoying issue with my css on Mac… I have got in my machine a folder called "CSS Tutorial" inside this i have my index.html, images folder and a css folder with my style.css inside… my style tag on the html is the following:
<link rel="stylesheet" href="css/style.css" type="text/css" />
and inside my CSS i am calling the images like this
background-image: url(images/background_light.jpg) no-repeat;
my final result is that the page is not showing up the background images… anyone can help me please…
Thanks in advance
Try¨this:
background-image: url("../images/background_light.jpg") no-repeat;
Its because, when you put your css in another folder, you have to link backwards with "../"
I’m not very good, but that’s my guess.
Thanks a lot man, it is working with ../images/
Have a nice weekend =D
background-image: url("../images/background_light.jpg") no-repeat;
Its because, when you put your css in another folder, you have to link backwards with "../"
I’m not very good, but that’s my guess.
NP, and you too :)