title: Sharepoint 2010 Branding: Problems applying custom styles
body: <p>Hi all – I’m a Sharepoint neophyte, and I’m trying to build/brand an Internet-facing site for someone at my job.</p>
  
  <p>In order to constrain the site to a centered, fixed-width layout, I added the following code to the coreV4.css file:</p>
  
  <pre><code>#s4-bodyContainer { 
  width: 960px !important; 
  margin: 0px auto; 
  }
  </code></pre>
  
  <p>…and it worked great. But - I was subsequently told that the coreV4 stylesheet should never be modified, so I reverted the file back to its original state and added the above code to a 2nd stylesheet that I’d already attached to the site. It’s linked from the head of the master page, like this:</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="/Style%20Library/CSS/combined.css" runat="server" After="corev4.css"/&gt;
  </code></pre>
  
  <p>The problem: Sharepoint refuses to “see” the #s4-bodycontainer snippet in the 2nd stylesheet. It does recognize other parts of that stylesheet – for example, the styles I created for the content editor webparts work just fine - but not the code pertaining to s4-bodycontainer. </p>
  
  <p>I’d like to just return that code to coreV4.css and call it a day, but here’s my other problem: None of the subsites are pointing to that iteration of that file (which lives in the _styles folder), and I don’t know how to change that. They are instead pointing to some other copy of the file that dwells deep in the hinterlands of the Sharepoint file structure (apparently under _layouts - I don’t think I have access to it). </p>
  
  <p>Any guidance will be deeply appreciated. Thanks!</p>