title: Root relative or relative url for .css and .js in asp.net masterpage
body: <p>I wonder what kind of url I should choose for local javascript and stylesheet files.</p>
  
  <p>In Asp.net masterpage:</p>
  
  <p>works:</p>
  
  <pre><code>&lt;link href="../Content/Style/site.css" rel="stylesheet" /&gt;
  </code></pre>
  
  <p>works:</p>
  
  <pre><code>&lt;link href="/Content/Style/site.css" rel="stylesheet" /&gt;
  </code></pre>
  
  <p>works:   </p>
  
  <pre><code>&lt;script src="/Scripts/javascript.js"&gt;&lt;/script&gt;  
  </code></pre>
  
  <p>this doesn't work correctly </p>
  
  <pre><code> &lt;script src="../Scripts/javascript.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Whats the difference between:</p>
  
  <pre><code>&lt;link href="../Content/Style/site.css" rel="stylesheet" /&gt;
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>&lt;script src="../Scripts/javascript.js"&gt;&lt;/script&gt;
  </code></pre>