title: Can't get less.js to work
body: <p>I can't get less.js to work and I have no idea why. Heres the HTML i tried:</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8" /&gt;
  
          &lt;!-- CSS --&gt;
          &lt;link rel="stylesheet/less"  href="main.less" /&gt;
  
          &lt;!-- Javascript --&gt;
          &lt;!-- &lt;script src="http://lesscss.googlecode.com/files/less-1.0.18.min.js"&gt;&lt;/script&gt; --&gt;
          &lt;script src="less-1.0.18.min.js" type="text/javascript"&gt;&lt;/script&gt;
  
      &lt;/head&gt;
      &lt;body&gt;
          &lt;p&gt;
              Lorum ipsum
          &lt;/p&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And heres main.less:</p>
  
  <pre><code>p {
      color: blue;
  }
  </code></pre>
  
  <p>The less-1.0.18.min.js file is downloaded from <a href="http://lesscss.googlecode.com/files/less-1.0.18.min.js" rel="noreferrer">http://lesscss.googlecode.com/files/less-1.0.18.min.js</a>. All files is in the same folder. I have no idea why this isn't working...</p>
  
  <p>Tested in Chrome 12.0.742.100</p>
  
  <p><strong>Edit</strong></p>
  
  <p>Tried the lates less.js file (less-1.1.3.min.js). That one did also not work.</p>
  
  <p><strong>Okay now...</strong></p>
  
  <p>This works:</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/less" href="main.less" /&gt;
  </code></pre>
  
  <p>But only as normal css, no less specific markup.</p>
  
  <p>This doesn't work at all:</p>
  
  <pre><code>&lt;link rel="stylesheet/less" type="text/less" href="main.less" /&gt;
  </code></pre>
  
  <p>Also, this isn't working:</p>
  
  <pre><code>&lt;link rel="stylesheet/less" type="text/css" href="main.less" /&gt;
  </code></pre>
  
  <p>What the hell? How do I get less to work?</p>
  
  <p><strong>Found the error</strong></p>
  
  <blockquote>
    <p>P.S.S. Less.js browser script currently won’t work if you’re using Chrome and the path to your page starts with “file:///” due to a known Chrome issue.</p>
  </blockquote>
  
  <p><a href="http://fadeyev.net/2010/06/19/lessjs-will-obsolete-css/" rel="noreferrer">Soruce</a></p>