comn8u
01-13-2006, 10:28 AM
Why is it that when I have a visual studio project running on localhost, that I have to use the project name when linking files to one another.
Here's an example:
Instead of using this, which is how I want it to work
<LINK href="../includes/styles.css" type="text/css" rel="stylesheet">
I have to use this:
<LINK href="/PROJECTNAME/includes/styles.css" type="text/css" rel="stylesheet">
I've tried to go into IIS and recreate the virtual directory for the project that is normally created by visual studio, but that doesn't work. Do I always have to add the project name when linking files or is there something I need to do to change this?
Thanks
Here's an example:
Instead of using this, which is how I want it to work
<LINK href="../includes/styles.css" type="text/css" rel="stylesheet">
I have to use this:
<LINK href="/PROJECTNAME/includes/styles.css" type="text/css" rel="stylesheet">
I've tried to go into IIS and recreate the virtual directory for the project that is normally created by visual studio, but that doesn't work. Do I always have to add the project name when linking files or is there something I need to do to change this?
Thanks