2016-11-28 91 views
-2

我几年前用一个模板制作了这个网站bigeyeslion.com。最近,我改变了一些文字和图像。之后,CSS停止工作。在上传到服务器之前,我在本地测试它,它工作正常。但css文件只是不会加载到服务器上。这是标题网站CSS文件会加载发布

<!DOCTYPE html> 
<html lang="en"> 

<head> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0"> 

    <title>Leon Sun - Creative Designer - Graphic and 3D</title> 

     <meta name="description" content="Leon Sun, Creative Designer,Graphic, 3D, Display design"/> 
     <meta name="keywords" content="Leon Sun, Creative Designer,Graphic, 3D, Display design"/> 
     <meta name="author" content="bigeyeslion.com"/> 

     <link rel="shortcut icon" href="img/favicon.png"> 

     <link rel="stylesheet" type="text/css" href="css/reset.css" /> 
     <link rel="stylesheet" type="text/css" href="css/style.css" /> 
     <link rel="stylesheet" type="text/css" href="css/style-responsive.css" />    

    <!--[if lt IE 9]> 
     <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> 
    <![endif]--> 

</head> 

我把css文件放在一个文件夹public_html/css和索引是在public_html文件夹。

请大家帮忙,我一直在为此奋斗了几天

+1

如果您使用的是谷歌浏览器,请按F12键,它会显示加载资源时是否有错误 –

回答

0

我觉得很奇怪。我使用Firefox在Mac上测试该网站,并在我的工作场所使用谷歌浏览器在PC上测试。他们两个都表现出同样的问题。与F12,它告诉我我有2 IMG(我没有使用)失踪。但是,当在家里用铬进行测试时,它可以很好地工作,也可以在手机上工作。