I have created a CEWP in which I have been displaying custom page. I have created a library within which I have stored all my text, css, js, img (separate folder). To call all these files, I have given a relative path to this library. While text, js, images are loading well in Chrome and IE, CSS is not rendering in Chrome (Working fine in IE). The page is not throwing any error though. What could be the reason for this? How to I make my CSS render?

This is how I am calling my CSS from HTML:

<link rel="stylesheet" type="text/css" href="/PLM/style.css">

where PLM is the name of my library.

  • While all the files are loading well in Chrome and IE, CSS is not rendering in Chrome????????? – Atish Dipongkor - MVP Sep 28 '15 at 8:51
  • @AtishDipongkor i mean except CSS all other files are running fine on Chrome and IE.... While, CSS is working fine on IE but not at all rendering on Chrome. Do you have a solution for this? – Yash Saraiya Sep 28 '15 at 8:54
  • check in my edited code – Yash Saraiya Sep 28 '15 at 9:05
  • It seems ok. are you getting any console error? – Atish Dipongkor - MVP Sep 28 '15 at 9:07
  • 1
    Check the path/reference by opening the css file directly as page/URI in Chrome. – Danny '365CSI' Engelman Sep 28 '15 at 9:29

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.