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
Diogo MartinsPosted Jul 30, 2015, 9:42 AM
Raja TPosted Jul 30, 2015, 7:01 AM
Raja TPosted Jul 30, 2015, 6:49 AM
Diogo MartinsPosted Jul 30, 2015, 6:37 AM
Raja TPosted Jul 30, 2015, 5:38 AM
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.
Raja TPosted Jul 30, 2015, 5:32 AM
Development (debugging) mode CSS file not working in IIS right?
Diogo MartinsPosted Jul 29, 2015, 10:32 AM
Raja TPosted Jul 29, 2015, 8:42 AM
Raja TPosted Jul 29, 2015, 8:35 AM
Diogo MartinsPosted Jul 29, 2015, 8:25 AM
Raja TPosted Jul 29, 2015, 8:16 AM
Diogo MartinsPosted Jul 29, 2015, 8:00 AM
Raja TPosted Jul 29, 2015, 7:14 AM
Raja TPosted Jul 29, 2015, 7:10 AM
Diogo MartinsPosted Jul 29, 2015, 6:23 AM
Raja TPosted Jul 29, 2015, 6:05 AM
Diogo MartinsPosted Jul 29, 2015, 5:51 AM
Raja TPosted Jul 29, 2015, 5:39 AM