On our development SharePoint site I can reference style sheets in our Master Page's html file. It converts successfully to the .master version.

However, our production SharePoint site strips out the referenced style sheets. The .master conversion is successful but the references to the style sheets are missing.

Does anyone know what setting handles this?

I'm adding CSS in the HTML files like this:

<link rel="stylesheet" href="/sites/oursite/Style%20Library/site.css" />
  • How are you referencing the style sheet, can you add an example in your question – Arsalan Adam Khatri Mar 14 '15 at 1:56
  • I've updated my question with the example. On our development site this works, but on our production site it doesn't. – matt Mar 14 '15 at 3:14
  • Try mentioning type="text/css" property in link tag. – Pradip R. May 1 '15 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.