2016-11-28 3 views
-2

私はこのウェブサイトを年前にテンプレートで作成しました。最近、いくつかのテキストと画像を変更しました。その後、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フォルダに置き、indexはpublic_htmlフォルダに入れました。

、私はそれが非常に奇妙見つける私は日

+1

Google Chromeを使用している場合は、「F12」を押すと、リソースを読み込む際にエラーが発生した場合に表示されます –

答えて

0

のために、これと闘争して、助けてください。私はfirefoxでMAC上のサイトをテストし、自分の仕事場でGoogle Chromeを使用してPCでテストします。両方とも同じ問題を示しています。 F12を押すと、2つのimg(私が使用しなかったもの)が欠落していることがわかります。しかし、自宅でクロムを使ってテストすると、うまく動作し、携帯電話でも動作します。

関連する問題