I have an application that is sorting using column headers. When the user clicks on the header an icon appears next to the header to show the direction of the sort.
It uses CSS to choose the icon and present it:
.pretty th .asc {
background-image: url(up-arrow.png);
}
.pretty th .desc {
background-image: url(down-arrow.png);
}
This works on my development version, even though I would expect the path to the icons to be '/images/up-arrow.png' rather than 'up-arrow.png'. However when I deploy the application to my server the icons no longer appear regardless whether I prefix with /images or not. Any ideas?