How do I refer to an image resource from CSS in grails?
问题 I want to refer to an image in my main stylesheet for a Grails app and I can't get it to work. My image lives in the standard location in my Grails app... project\web-app\images\outbound-blue.png In my stylesheet I want to use it as a background image for a class... .messageimg { height:17px; width:16px; background-image:url(images/outbound-blue.png); background-repeat:no-repeat; } This doesn't work for some reason. My stylesheet is in the normal location too, i.e. project\web-app\css\main