Reputation: 2437
I am using nivo slider with the below setup
/
/js
/nivo
/images
...
nivo-slider.css
...
In nivo-slider.css, dont I reference images using "images/bullets.png"? But in the browser, I dont see images, then in firebug, it says not found too...
Upvotes: 1
Views: 288
Reputation: 2437
Ah, it was a Linux permissions thingy... after chmod to 755 it works ...
Upvotes: 1
Reputation: 14154
The path is relative to the current page. That is, if you are in /index.htm
, your path points to /images/bullet.png
. Use an absolute path:
background:url("/js/nivo/images/bullets.png");
Upvotes: 3
Reputation: 4179
In Firebug mouse over where it say not found, it should show the full path and check with that path in directory is correct or not and change if required. Most probably, you are calling the CSS from other file where the it points to different path.
If required use the full path (not recommended always).
Upvotes: 2