Reputation: 906
Strange thing. I moved my site from develop to production and now none of the images I load in my CSS file are working.
Directory structure:
root
root - css
root - icons
Example code from CSS:
.icon_edit {
display: block;
background:url(../icons/sharp_reply.png) center right no-repeat;
width: 16px;
height: 16px;
}
The code above does work on my staging server. It also works if I move the images to the CSS folder and I change:
background:url(../icons/sharp_reply.png)
to
background:url(sharp_reply.png)
So it probably has something to do with the webserver (apache) config or some permission settings? I just can't figure out which.
Upvotes: 1
Views: 799