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'm editing an aspx layouts and its master page, and somebody has already linked a custom css file in designer in the Manage Styles pane.

Where is this defined in the code? I can't find it anywhere. I'd like to link to a QA.css while only checking in draft versions, so the transition to publishing a major version is instant.

share|improve this question
up vote 2 down vote accepted

When you attach a style via Manage Styles whilst editing the MasterPage, the code is inserted into the Master Page in the HEAD section at the top of the page.

If you're editing an ASPX page, then the link rel tag is inserted inside an asp:Content tag with placeholder id "PlaceHolderAdditionalPageHead".

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.