I have a project with the current structure
My Project /Content /Controller /View /Model /Areas /Area1 /View /Controller /Model /Area2 /View /Controller /Model
All region views use the _Layout root general view, which refers to a css file in the root of the content. The css file in the content folder refers to images or other content with the same directory as 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 this works fine when I go to "http: // MyProject / controller / action", but when I go to the area "http: // root / area / controller / action", my css file cannot find the path ". ./Content/PIE.htc ".
I donβt know how to fix it, so I was wondering if anyone knew about this in order to fix it.
Thanks!
source share