SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I noticed that the css being loaded by CssLink differs depending on which page is being loaded. For example, when I load the _layouts/prjsetng.aspx page, it loads:

  • ~/_catalogs/theme/themed/7D16DABB/layouts-9C6B8173.css
  • ~/_catalogs/theme/themed/7D16DABB/corev4-8A0ABD2F.css

Then when I try to load my home page, the following gets loaded:

  • ~/_catalogs/theme/themed/7D16DABB/search-7E1AFF02.css
  • ~/_catalogs/theme/themed/7D16DABB/corev4-8A0ABD2F.css

My question is, how do I control this behavior? In my home page, I need a style that is defined in layouts-9C6B8173.css but for some reason, it is not getting loaded.

share|improve this question
why you wanna load it for ? – Muhammad Raja Dec 26 '12 at 10:05
we have legay web parts that make use of the ~/_controltemplates/InputFormSection.ascx user controls. These controls are dependent on css styles defined in the layouts css file – Mel Dec 26 '12 at 11:38

Try to registering your css using,

<SharePoint:CSSRegistration name= "<%$SPrl:~SiteCollection/Style Library/~language/Core Stypes/Band.css%>" runat="server"/>

CSS Registration MSDN

Hope it helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.