<p>I've started to work a bit with master pages for an ASP.net mvc site and I've come across a question.  When I link in a stylesheet on the master page it seems to update the path to the sheet correctly.  That is in the code I have</p>

<pre><code>&lt;link href="../../Content/Site.css" rel="stylesheet" type="text/css" /&gt;
</code></pre>

<p>but looking at the source once the page is fed to a browser I get</p>

<pre><code>&lt;link href="Content/Site.css" rel="stylesheet" type="text/css" /&gt;
</code></pre>

<p>which is perfect.  However the same path translation doesn't seem to work for script files.  </p>

<pre><code>&lt;script src="../../Content/menu.js" type="text/javascript"&gt;&lt;/script&gt;
</code></pre>

<p>just comes out as the same thing.  It still seems to work on a top level page but I suspect that is just the browser/web server correcting my error.  Is there a way to get the src path to be globbed too?    </p>

Use this instead:
```
```
<link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
```
```