CSS not displaying server-side

强颜欢笑 提交于 2019-12-13 08:08:56

问题


My website works fine offline. When I upload it to the server, the CSS does not work. What makes it more confusing;

  1. I uploaded the website to my University server using the FTP account I was given. The website displays fine.
  2. I uploaded the website to my own server, the CSS doesn't work, neither does the favicon.

This means all the file links are working etc, but it isn't working on my server. Even the Google Fonts isn't working.!

I haven't changed any settings in my account etc.

1 - Folder Structure 2 - CSS links in my HTML


回答1:


  1. Make sure it is not about caching.
  2. Link css, favicon from your university server to see if it is not related with server configuration


来源:https://stackoverflow.com/questions/30687978/css-not-displaying-server-side

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!