Oct 28, 2014, 3:40 PM
ThemePath and Firefox Images
I am using a custom theme for my application and ran into an obscure problem where the theme's images weren't showing up in Firefox, while they rendered fine in IE and Chrome. For example, the combobox trigger was not rendering in Firefox.
Firefox could not find the images that were relative to the CSS file (even though it was able to locate the CSS file). It turns out the issue was that I used backward slashes in my themePath setting instead of forward slashes. I define my theme path in the web.config file -- before it was like this:
Firefox could not find the images that were relative to the CSS file (even though it was able to locate the CSS file). It turns out the issue was that I used backward slashes in my themePath setting instead of forward slashes. I define my theme path in the web.config file -- before it was like this:
<extnet themePath="themes\mytheme\mytheme-all.css">
It needs to be like this:<extnet themePath="themes/mytheme/mytheme-all.css">
Changing it to use forward slashes fixed this issue for me.