Hello,
I have problem with my background image URL.
My directory struct it is a follow:
->Assets
-> css
-> siteB
->SiteB.css
-> Images
->example.png
When I am develop is work fine with:
background-image: url('../../images/example.png');
But when publish the project and run in IIS only work with:
background-image: url('../images/example.png');
Not exist resolution to this problem?
Best regards,
Diogo Martins

Raja TRank #685 · 3.5K reputationPosted Jul 29, 2015, 1:39 AM EDT
Diogo MartinsRank #7,298 · 244 reputationPosted Jul 29, 2015, 1:51 AM EDT
Raja TRank #685 · 3.5K reputationPosted Jul 29, 2015, 2:05 AM EDT
Diogo MartinsRank #7,298 · 244 reputationPosted Jul 29, 2015, 2:23 AM EDT
Raja TRank #685 · 3.5K reputationPosted Jul 29, 2015, 3:10 AM EDT
Raja TRank #685 · 3.5K reputationPosted Jul 29, 2015, 3:14 AM EDT
Diogo MartinsRank #7,298 · 244 reputationPosted Jul 29, 2015, 4:00 AM EDT
Raja TRank #685 · 3.5K reputationPosted Jul 29, 2015, 4:16 AM EDT
Diogo MartinsRank #7,298 · 244 reputationPosted Jul 29, 2015, 4:25 AM EDT
Raja TRank #685 · 3.5K reputationPosted Jul 29, 2015, 4:35 AM EDT
Raja TRank #685 · 3.5K reputationPosted Jul 29, 2015, 4:42 AM EDT
Diogo MartinsRank #7,298 · 244 reputationPosted Jul 29, 2015, 6:32 AM EDT
Raja TRank #685 · 3.5K reputationPosted Jul 30, 2015, 1:32 AM EDT
Development (debugging) mode CSS file not working in IIS right?
Raja TRank #685 · 3.5K reputationPosted Jul 30, 2015, 1:38 AM EDT
You need change like bellow only. In that what is the problem tell me.
development is work fine with:
background-image: url('../../images/example.png');
IIS in style
background-image: url('../images/example.png');
Note: no worries u have know the answer. When you debug the use like first one. When you run is just change style only it is working fine. If you facing errors please come back to me.
Diogo MartinsRank #7,298 · 244 reputationPosted Jul 30, 2015, 2:37 AM EDT
Raja TRank #685 · 3.5K reputationPosted Jul 30, 2015, 2:49 AM EDT
Raja TRank #685 · 3.5K reputationPosted Jul 30, 2015, 3:01 AM EDT
Diogo MartinsRank #7,298 · 244 reputationPosted Jul 30, 2015, 5:42 AM EDT