I have a project with the current structure
My Project
/Content
/Controller
/View
/Model
/Areas
/Area1
/View
/Controller
/Model
/Area2
/View
/Controller
/Model
All of the area views are using a root shared _Layout view which is referencing a css file under the root content directory. The css file under the content folder is referencing images or other content with the same directory like below:
.box-shadow
{
-webkit-box-shadow: 0px 5px 80px #505050;
-moz-box-shadow: 0px 5px 80px #505050;
box-shadow: 0px 5px 80px #505050;
behavior: url('../Content/PIE.htc');
}
All of this works fine when i access 'http://MyProject/controller/action', but when i go into an area 'http://root/area/controller/action' my css file is not able to find the path '../Content/PIE.htc'.
I don't know how to go about fixing this so i was wondering if anyone knew of a way to fix this.
Thanks!