CSS not working in Chrome

后端 未结 8 1893
再見小時候
再見小時候 2021-01-18 02:39

The CSS is not loading for this page of the website I am working on: http://www.thesanfordcenter.net/sanford-center. It happens only in Chrome, but is not a caching issue as

8条回答
  •  忘掉有多难
    2021-01-18 03:26

    Make sure that your CSS and HTM/HTML files use the same encoding !

    If your HTM/HTML files are encoded as UNICODE, your stylesheet has to be as well.

    IE and Edge are not fussy : stylesheets are rendered regardless of the encodings. But Chrome is totally intolerant of unmatched encodings.

    I tried every solution/suggestion i could find all over the Internet before i noticed, in my text editor, that i was using different encodings. Once I saved the stylesheets with the same encoding used for the web pages, the problem disappeared.

提交回复
热议问题