-3
rated 0 times
[
3]
[
6]
/ answers: 1 / hits: 28259
/ 15 Years ago, thu, april 9, 2009, 12:00:00
I have a Master Page in the root of my project. I have Content Pages throughout my project and in subfolders referencing this Master Page. What is the correct way to reference my .CSS and .JS files if I always want them to be relative to the root?
Here is how I'm doing it now:
link href=/common/css/global.css
script src=/common/javascript/global.js
But that breaks the link. I tried without the leading / but that didn't work on my pages in the subfolders.
More From » c#