After deciding to venture into ASP.NET, I quickly encountered my first obstacle.
The folder structure is as follows:
\
->Admin
-->Admin.Aspx
->CSS
-->Style.css
->Images
-->bg.gif
Default.aspx
Default.master
Both admin.aspx
and default.aspx
utilize the default.master
page, which includes the line:
<link rel="stylesheet" type="text/css" href="CSS/Style.css" media="screen" />
This reference works for the default.aspx
page since the path is correct, but it fails for the admin page.
Is there a special character, akin to ~ for home in Linux, that can indicate the root path? Using just a slash isn't feasible as the website might be located under a subfolder when hosted.
I hope I have articulated the issue clearly so you can grasp what needs to be addressed :)
It seems like more of an HTML dilemma than one specific to ASP.