I was using the very descriptively named web-app-theme for the options page of a chrome extension I’m writing and it has backgrounds specified in the CSS files in the default theme with a relative paths:

background-image:url(images/menubar-background.png');

Despite putting the images in the correct place in my extension directory, chrome was giving off ’Failed to load resource’ messages. The best thing I could come up with is to use absolute paths instead, where your extension directory will count as the root:

background-image:url('/stylesheets/images/menubar-background.png');
  1. scribblepadofdoom posted this