drag2458 2014-06-29 22:53
浏览 144
已采纳

正确的CSS文件未加载,另一个其他地方已加载

I have a little problem with my website. My CSS file located in css/style.css who is empty doesn't load when in my index.php located in public_html on cPanel loads.

I'm using a link that I've put:

link rel='stylesheet' type='text/css' href='css/style.css'

in head section but it doesn't load this one, instead it does load one from http://www.cssreset.com/ by Eric Meyer as you can see here while my style.css located in css/style.css is actually empty. http://theolt.getheb.com/css/style.css.

Can someone help me guys? I have absolutely no idea of why it does this, i'm using cPanel hosted on my friend's website getheb.com and even him doesn't know why it does this.

  • 写回答

1条回答 默认 最新

  • dstbp22002 2014-06-30 05:58
    关注

    It's probably the cache on the web servers. In my experience I was making changes to my site using localhost and as I transfer it to the web it doesn't make any changes. The problem was it takes 12 hours for the web servers to propagate the new file. So maybe you should try to contact the hosting site and check if it's about the cache. When you delete a file then the file is still running on the live site then the problem is really the cache.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 5037端口被adb自己占了
  • ¥15 Error in check.length("fill") : 'gpar'成分'fill'的长度不能为零
  • ¥15 python:excel数据写入多个对应word文档
  • ¥60 全一数分解素因子和素数循环节位数
  • ¥15 ffmpeg如何安装到虚拟环境
  • ¥188 寻找能做王者评分提取的
  • ¥15 matlab用simulink求解一个二阶微分方程,要求截图
  • ¥30 乘子法解约束最优化问题的matlab代码文件,最好有matlab代码文件
  • ¥15 写论文,需要数据支撑
  • ¥15 identifier of an instance of 类 was altered from xx to xx错误