title: Where do I put my CSS, how do I link to it from the master page?
body: <p>I have installed SharePoint 2010 on a single machine in farm mode pointing to a db on another server. I would like to start dabbling into branding the site by doing something that I initially thought to be trivially straightforward, link to a custom CSS from a SharePoint 2010 master page.  </p>
  
  <p>I have uploaded a custom css (Let's call it custom.css) using SharePoint designer in the Site Assets. What syntax do I need to put to link to it? I have tried the following:</p>
  
  <pre><code>&lt;SharePoint:CssRegistration name="custom.css" After="corev4.css" runat="server"/&gt; 
  </code></pre>
  
  <p>But the server cannot find the CSS file. I receive the following error:</p>
  
  <blockquote>
    <p>Cannot make a cache safe URL for "1033/styles/custom.css", file not found. Please verify that the file exists under the layouts directory.</p>
  </blockquote>
  
  <ul>
  <li>I've assumed I need to use SharePoint:CssRegistration - Is my assumption correct?</li>
  <li>So what is it exactly that I need to put in the name tag to link to a css uploaded via SharePoint designer? </li>
  <li>Am I even on the right track or would you suggest an alternative way of putting this together?</li>
  </ul>